NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48798



The following reply was made to PR bin/48798; it has been noted by GNATS.

From: "Thomas Schmitt" <scdbackup%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/48798
Date: Sat, 10 May 2014 11:16:27 +0200

 --- bin/ls/print.c.orig        2014-02-22 13:11:42.000000000 +0000
 +++ bin/ls/print.c     2014-05-10 08:47:43.000000000 +0000
 @@ -136,8 +136,8 @@ printlong(DISPLAY *dp)
                        continue;
                sp = p->fts_statp;
                if (f_inode)
 -                      (void)printf("%*lu ", dp->s_inode,
 -                          (unsigned long)sp->st_ino);
 +                      (void)printf("%*llu ", dp->s_inode,
 +                          (unsigned long long)sp->st_ino);
                if (f_size) {
                        if (f_humanize) {
                                if ((humanize_number(szbuf, sizeof(szbuf),
 @@ -365,7 +365,8 @@ printaname(FTSENT *p, int inodefield, in
        sp = p->fts_statp;
        chcnt = 0;
        if (f_inode)
 -              chcnt += printf("%*lu ", inodefield, (unsigned long)sp->st_ino);
 +              chcnt += printf("%*llu ",
 +                              inodefield, (unsigned long long)sp->st_ino);
        if (f_size) {
                if (f_humanize) {
                        if ((humanize_number(szbuf, sizeof(szbuf), sp->st_size,
 


Home | Main Index | Thread Index | Old Index