diff options
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: |