diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-10-03 18:50:31 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-10-03 18:50:31 +0000 |
commit | 879cd68ba8797c8406caec618cc9738c9cd59e69 (patch) | |
tree | 4ac2c0bd2e9a9c2e945f747d3f80b4f7cdfcb139 /sbin/disklabel/editor.c | |
parent | f6444df4978e98a7f8e0bf2737d004466a97a598 (diff) |
Print u_int64_t variables with %llu.
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r-- | sbin/disklabel/editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index f74f5244b65..393516ee9ee 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.272 2013/09/10 15:17:46 krw Exp $ */ +/* $OpenBSD: editor.c,v 1.273 2013/10/03 18:50:30 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -1217,7 +1217,7 @@ getuint64(struct disklabel *lp, char *prompt, char *helpstring, if (*p == '+' || *p == '-') operator = *p++; percent = strtod(p, NULL) / 100.0; - snprintf(buf, sizeof(buf), "%lld", + snprintf(buf, sizeof(buf), "%llu", DL_GETDSIZE(lp)); break; case '&': |