Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sbin/raidctl Pull up following revision(s) (requested by ...
details: https://anonhg.NetBSD.org/src/rev/e222f34e9338
branches: netbsd-3
changeset: 579063:e222f34e9338
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sat Jan 31 21:24:11 2009 +0000
description:
Pull up following revision(s) (requested by tron in ticket #1989):
sbin/raidctl/raidctl.c: revision 1.40
Use correct format to print the "numBlocks" element in a RAIDframe
component label. raidctl(8) should now print the correct number of
blocks for RAID sets larger than 1TB.
Patch supplied by Bernhard Moellemann in PR bin/40479.
diffstat:
sbin/raidctl/raidctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0524bbe294bc -r e222f34e9338 sbin/raidctl/raidctl.c
--- a/sbin/raidctl/raidctl.c Thu Jan 15 21:44:25 2009 +0000
+++ b/sbin/raidctl/raidctl.c Sat Jan 31 21:24:11 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: raidctl.c,v 1.36.2.1 2005/05/28 13:50:16 tron Exp $ */
+/* $NetBSD: raidctl.c,v 1.36.2.2 2009/01/31 21:24:11 bouyer Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: raidctl.c,v 1.36.2.1 2005/05/28 13:50:16 tron Exp $");
+__RCSID("$NetBSD: raidctl.c,v 1.36.2.2 2009/01/31 21:24:11 bouyer Exp $");
#endif
@@ -631,7 +631,7 @@
printf(" sectPerSU: %d, SUsPerPU: %d, SUsPerRU: %d\n",
component_label.sectPerSU, component_label.SUsPerPU,
component_label.SUsPerRU);
- printf(" Queue size: %d, blocksize: %d, numBlocks: %d\n",
+ printf(" Queue size: %d, blocksize: %d, numBlocks: %u\n",
component_label.maxOutstanding, component_label.blockSize,
component_label.numBlocks);
printf(" RAID Level: %c\n", (char) component_label.parityConfig);
Home |
Main Index |
Thread Index |
Old Index