From 5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 28 Oct 2006 12:37:16 +0000 Subject: ls: cleanup part 1 --- include/libbb.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 9f9a2b82e..770c1ecc1 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -89,13 +89,13 @@ # define STRTOOFF strtol # define SAFE_STRTOOFF safe_strtol # define XSTRTOUOFF xstrtoul -# define OFF_FMT "%ld" +# define OFF_FMT "ld" # else /* "long" is too short, need "long long" */ # define STRTOOFF strtoll # define SAFE_STRTOOFF safe_strtoll # define XSTRTOUOFF xstrtoull -# define OFF_FMT "%lld" +# define OFF_FMT "lld" # endif #else # if 0 /* #if UINT_MAX == 0xffffffff */ @@ -104,12 +104,12 @@ # define STRTOOFF strtol # define SAFE_STRTOOFF safe_strtoi # define XSTRTOUOFF xstrtou -# define OFF_FMT "%d" +# define OFF_FMT "d" # else # define STRTOOFF strtol # define SAFE_STRTOOFF safe_strtol # define XSTRTOUOFF xstrtoul -# define OFF_FMT "%ld" +# define OFF_FMT "ld" # endif #endif /* scary. better ideas? (but do *test* them first!) */ -- cgit v1.2.3