summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-28 12:37:16 +0000
committerDenis Vlasenko2006-10-28 12:37:16 +0000
commit5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf (patch)
tree8fa1fa4abeb29eb5ca5829a084a07fae55bc679b /include/libbb.h
parent8c35d65c43216bb840326ac7476a180e2ae36fe9 (diff)
downloadbusybox-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.zip
busybox-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.tar.gz
ls: cleanup part 1
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9f9a2b8..770c1ec 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!) */