diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2011-08-08 18:18:23 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2011-08-08 18:18:23 +0000 |
commit | 18abb7f71d25f2aa23c79af8ca4c872fc1604a2e (patch) | |
tree | 36215c8e9e15b812e968725cc2c014e6929547ba /sys | |
parent | 8ad78c6cb93cdb8d14aa64578906c224295626ee (diff) |
Fix a formating bug that caused a bad print on big endian arches.
ok deraadt
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index a59f5ef5c73..5ccbb58592e 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.245 2011/07/17 22:46:48 matthew Exp $ */ +/* $OpenBSD: softraid.c,v 1.246 2011/08/08 18:18:22 marco Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -3958,7 +3958,7 @@ sr_rebuild_thread(void *arg) percent = 100 - ((psz * 100 - rb * 100) / psz) - 1; else percent = 0; - printf("%s: resuming rebuild on %s at %llu%%\n", + printf("%s: resuming rebuild on %s at %d%%\n", DEVNAME(sc), sd->sd_meta->ssd_devname, percent); } |