summaryrefslogtreecommitdiffstats
path: root/sbin/savecore
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-05-06 08:27:21 +0000
committermarcel <marcel@FreeBSD.org>2002-05-06 08:27:21 +0000
commit84a2005982c2cd106ac42278e6aa1b86fbb26a61 (patch)
tree2b84ec954f882add30f218a6adfcfcb97612e06f /sbin/savecore
parent2373a463f687363a3497feb8cab3091f7be1c373 (diff)
downloadFreeBSD-src-84a2005982c2cd106ac42278e6aa1b86fbb26a61.zip
FreeBSD-src-84a2005982c2cd106ac42278e6aa1b86fbb26a61.tar.gz
Make argument to printf match format.
Diffstat (limited to 'sbin/savecore')
-rw-r--r--sbin/savecore/savecore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index f478cb9..2571334 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -418,7 +418,7 @@ DoFile(char *savedir, const char *device)
}
if (verbose) {
dmpcnt += wl;
- printf("%llu\r", dmpcnt);
+ printf("%llu\r", (unsigned long long)dmpcnt);
fflush(stdout);
}
dumpsize -= wl;
OpenPOWER on IntegriCloud