/* $NetBSD: compare.c,v 1.11 1996/09/05 09:56:48 mycroft Exp $ */
-/* $OpenBSD: compare.c,v 1.25 2015/12/21 19:37:21 mmcc Exp $ */
+/* $OpenBSD: compare.c,v 1.26 2016/08/14 20:53:19 krw Exp $ */
/*-
* Copyright (c) 1989, 1993
}
if (s->flags & F_SIZE && s->st_size != p->fts_statp->st_size) {
LABEL;
- (void)printf("%ssize (%qd, %qd)\n",
- tab, s->st_size, p->fts_statp->st_size);
+ (void)printf("%ssize (%lld, %lld)\n",
+ tab, (long long)s->st_size,
+ (long long)p->fts_statp->st_size);
tab = "\t";
}
/*
/* $NetBSD: create.c,v 1.11 1996/09/05 09:24:19 mycroft Exp $ */
-/* $OpenBSD: create.c,v 1.30 2015/01/16 06:40:18 deraadt Exp $ */
+/* $OpenBSD: create.c,v 1.31 2016/08/14 20:53:19 krw Exp $ */
/*-
* Copyright (c) 1989, 1993
if (keys & F_NLINK && p->fts_statp->st_nlink != 1)
output(indent, &offset, "nlink=%u", p->fts_statp->st_nlink);
if (keys & F_SIZE && S_ISREG(p->fts_statp->st_mode))
- output(indent, &offset, "size=%qd", p->fts_statp->st_size);
+ output(indent, &offset, "size=%lld",
+ (long long)p->fts_statp->st_size);
if (keys & F_TIME)
output(indent, &offset, "time=%lld.%ld",
(long long)p->fts_statp->st_mtimespec.tv_sec,