summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-01-30 10:05:32 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-01-30 10:05:32 +0000
commit02bd7064dcfb3c6b4e722f661625ea479d02cea2 (patch)
treecc5a01445574b5ef27dc538fbfc444ee46babb37 /sbin/disklabel/editor.c
parent77c25584542be9e468697ac470019d26a85c9da9 (diff)
fix format string
ok krw@ otto@
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r--sbin/disklabel/editor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 91fe25a0a80..ce73b92c9b5 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.265 2012/01/19 15:51:11 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.266 2012/01/30 10:05:31 chl Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -2046,7 +2046,8 @@ get_bsize(struct disklabel *lp, int partno)
"as page size (%d).\n", getpagesize());
else if (ui < fsize || (ui % fsize) != 0)
fprintf(stderr, "Error: block size must be a multiple "
- "of the fragment size (%d).\n", fsize);
+ "of the fragment size (%llu).\n",
+ (unsigned long long) fsize);
else
break;
}