diff options
author | Glenn L McGrath | 2004-03-05 05:47:19 +0000 |
---|---|---|
committer | Glenn L McGrath | 2004-03-05 05:47:19 +0000 |
commit | d2b860fecb7353a8f809e1841c299160f4c6c6b9 (patch) | |
tree | 7b9c6c732d197e7e4fd82b1f8b82ec7da8373283 | |
parent | bbf2ce36d841fe53689516f6e52751e5f59ad393 (diff) | |
download | busybox-d2b860fecb7353a8f809e1841c299160f4c6c6b9.zip busybox-d2b860fecb7353a8f809e1841c299160f4c6c6b9.tar.gz |
Patch from Vernon Sauder.
The off_t type is not a consistent size; it depends on the kernel options
(something about large file support). Therefore, the format string for
printing an address is not always the same.
-rw-r--r-- | libbb/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/dump.c b/libbb/dump.c index f071ea0..5046b92 100644 --- a/libbb/dump.c +++ b/libbb/dump.c @@ -650,7 +650,7 @@ static void display(void) for (pr = endfu->nextpr; pr; pr = pr->nextpr) { switch (pr->flags) { case F_ADDRESS: - (void) printf(pr->fmt, eaddress); + (void) printf(pr->fmt, (unsigned int) eaddress); break; case F_TEXT: (void) printf(pr->fmt); |