linup: fix issue related to printf of num > 07