diff options
author | 2010-08-12 04:33:40 +0000 | |
---|---|---|
committer | 2010-08-12 04:33:40 +0000 | |
commit | 6f1e2e2599df0925d45fc823565a53e63aae3dd1 (patch) | |
tree | 3440ef48c78c4729296b6cd093048dfce13d2094 | |
parent | these files don't need to include nearly so many headers (diff) | |
download | wireguard-openbsd-6f1e2e2599df0925d45fc823565a53e63aae3dd1.tar.xz wireguard-openbsd-6f1e2e2599df0925d45fc823565a53e63aae3dd1.zip |
correct a format string. not sure who thought size_t would be a good match
for ccd size, though.
-rw-r--r-- | sbin/ccdconfig/ccdconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c index 3a10de968a8..d3157075bd9 100644 --- a/sbin/ccdconfig/ccdconfig.c +++ b/sbin/ccdconfig/ccdconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccdconfig.c,v 1.34 2008/06/26 05:42:06 ray Exp $ */ +/* $OpenBSD: ccdconfig.c,v 1.35 2010/08/12 04:33:40 tedu Exp $ */ /* $NetBSD: ccdconfig.c,v 1.6 1996/05/16 07:11:18 thorpej Exp $ */ /*- @@ -307,7 +307,7 @@ do_single(int argc, char *argv[], int action) i == 0 ? '(' : ' ', cp2, i == ccio.ccio_ndisks - 1 ? ')' : ','); } - printf(", %d blocks ", ccio.ccio_size); + printf(", %ld blocks ", ccio.ccio_size); if (ccio.ccio_ileave != 0) printf("interleaved at %d blocks\n", ccio.ccio_ileave); else |