Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/raidctl print the serial number as an unsigned number.



details:   https://anonhg.NetBSD.org/src/rev/f4d95fd1d3c9
branches:  trunk
changeset: 769966:f4d95fd1d3c9
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Sep 28 10:29:41 2011 +0000

description:
print the serial number as an unsigned number.

diffstat:

 sbin/raidctl/raidctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c23efd07a643 -r f4d95fd1d3c9 sbin/raidctl/raidctl.c
--- a/sbin/raidctl/raidctl.c    Wed Sep 28 02:36:37 2011 +0000
+++ b/sbin/raidctl/raidctl.c    Wed Sep 28 10:29:41 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: raidctl.c,v 1.53 2011/08/29 14:35:03 joerg Exp $   */
+/*      $NetBSD: raidctl.c,v 1.54 2011/09/28 10:29:41 mrg Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: raidctl.c,v 1.53 2011/08/29 14:35:03 joerg Exp $");
+__RCSID("$NetBSD: raidctl.c,v 1.54 2011/09/28 10:29:41 mrg Exp $");
 #endif
 
 
@@ -734,7 +734,7 @@
        printf("   Row: %d, Column: %d, Num Rows: %d, Num Columns: %d\n",
               component_label.row, component_label.column, 
               component_label.num_rows, component_label.num_columns);
-       printf("   Version: %d, Serial Number: %d, Mod Counter: %d\n",
+       printf("   Version: %d, Serial Number: %u, Mod Counter: %d\n",
               component_label.version, component_label.serial_number,
               component_label.mod_counter);
        printf("   Clean: %s, Status: %d\n",



Home | Main Index | Thread Index | Old Index