From e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Apr 2001 03:14:39 +0000 Subject: 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 --- coreutils/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/ls.c') diff --git a/coreutils/ls.c b/coreutils/ls.c index 49470e9f7..0b89ecce1 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: -- cgit v1.2.3