diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-12-24 20:48:34 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-12-24 20:48:34 +0000 |
commit | 314fc043bd09e9b165db5d82f86ddcde18e92fff (patch) | |
tree | 26296acf0179365560841fdcce5ad4b8a3cf8753 | |
parent | ec4e8f322c7e420beb1e295ecf2c87dc26183d53 (diff) |
fox format string; ok tedu@
-rw-r--r-- | sbin/growfs/growfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 7c1e4d02f28..a2eb22dd373 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: growfs.c,v 1.25 2008/11/28 00:15:54 ckuethe Exp $ */ +/* $OpenBSD: growfs.c,v 1.26 2008/12/24 20:48:33 otto Exp $ */ /* * Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz * Copyright (c) 1980, 1989, 1993 The Regents of the University of California. @@ -252,7 +252,7 @@ growfs(int fsi, int fso, unsigned int Nflag) initcg(cylno, utime, fso, Nflag); if (quiet) continue; - j = snprintf(tmpbuf, sizeof(tmpbuf), " %d%s", + j = snprintf(tmpbuf, sizeof(tmpbuf), " %lld%s", fsbtodb(&sblock, cgsblock(&sblock, cylno)), cylno < (sblock.fs_ncg - 1) ? "," : ""); if (j >= sizeof(tmpbuf)) |