diff options
author | Eric Andersen | 2001-04-05 03:14:39 +0000 |
---|---|---|
committer | Eric Andersen | 2001-04-05 03:14:39 +0000 |
commit | e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 (patch) | |
tree | 87f705b9e4e4e48700ac61e9538c637ae2b395a7 /coreutils/ls.c | |
parent | 3c0364f3911ec9f43e1c8c96ec2c8e30b1b52c47 (diff) | |
download | busybox-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.zip busybox-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.gz |
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 49470e9..0b89ecc 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -626,7 +626,7 @@ static int list_single(struct dnode *dn) column += 10; break; case LIST_NLINKS: - printf("%4d ", dn->dstat.st_nlink); + printf("%4ld ", (long)dn->dstat.st_nlink); column += 10; break; case LIST_ID_NAME: |