Get rid of %qd, and unbreak Alpha build.
This commit is contained in:
parent
ced4deb156
commit
b3f379f65f
@ -54,6 +54,7 @@ static const char rcsid[] =
|
||||
#ifdef RMD160
|
||||
#include <ripemd.h>
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
@ -175,8 +176,8 @@ typeerr: LABEL;
|
||||
if (s->flags & F_SIZE && s->st_size != p->fts_statp->st_size &&
|
||||
!S_ISDIR(p->fts_statp->st_mode)) {
|
||||
LABEL;
|
||||
(void)printf("%ssize expected %qd found %qd\n",
|
||||
tab, s->st_size, p->fts_statp->st_size);
|
||||
(void)printf("%ssize expected %jd found %jd\n", tab,
|
||||
(intmax_t)s->st_size, (intmax_t)p->fts_statp->st_size);
|
||||
tab = "\t";
|
||||
}
|
||||
/*
|
||||
|
@ -57,6 +57,7 @@ static const char rcsid[] =
|
||||
#include <ripemd.h>
|
||||
#endif
|
||||
#include <pwd.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
@ -206,7 +207,8 @@ statf(indent, p)
|
||||
if (keys & F_NLINK && p->fts_statp->st_nlink != 1)
|
||||
output(indent, &offset, "nlink=%u", p->fts_statp->st_nlink);
|
||||
if (keys & F_SIZE)
|
||||
output(indent, &offset, "size=%qd", p->fts_statp->st_size);
|
||||
output(indent, &offset, "size=%jd",
|
||||
(intmax_t)p->fts_statp->st_size);
|
||||
if (keys & F_TIME)
|
||||
output(indent, &offset, "time=%ld.%ld",
|
||||
(long)p->fts_statp->st_mtimespec.tv_sec,
|
||||
|
Loading…
x
Reference in New Issue
Block a user