From 21b894709fabc405f5c1204667b0f3aecbc970d2 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 28 Jun 1998 20:33:36 +0000 Subject: Fixed printf format errors. --- sbin/savecore/savecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/savecore') diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index 2be0674..d90a9a7 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -246,7 +246,7 @@ kmem_setup() Lseek(kmem, (off_t)current_nl[X_DUMPLO].n_value, L_SET); (void)Read(kmem, &dumplo, sizeof(dumplo)); if (verbose) - (void)printf("dumplo = %d (%d * %d)\n", + (void)printf("dumplo = %ld (%ld * %d)\n", dumplo, dumplo/DEV_BSIZE, DEV_BSIZE); Lseek(kmem, (off_t)current_nl[X_DUMPMAG].n_value, L_SET); (void)Read(kmem, &dumpmag, sizeof(dumpmag)); -- cgit v1.1