summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}