diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2012-01-30 10:05:32 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2012-01-30 10:05:32 +0000 |
commit | 02bd7064dcfb3c6b4e722f661625ea479d02cea2 (patch) | |
tree | cc5a01445574b5ef27dc538fbfc444ee46babb37 /sbin/disklabel/editor.c | |
parent | 77c25584542be9e468697ac470019d26a85c9da9 (diff) |
fix format string
ok krw@ otto@
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r-- | sbin/disklabel/editor.c | 5 |
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; } |