Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/raidctl fix sign-compare issue
details: https://anonhg.NetBSD.org/src/rev/319efce06532
branches: trunk
changeset: 752969:319efce06532
user: plunky <plunky%NetBSD.org@localhost>
date: Sat Mar 13 13:45:05 2010 +0000
description:
fix sign-compare issue
diffstat:
sbin/raidctl/raidctl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r b08db1b5a7c4 -r 319efce06532 sbin/raidctl/raidctl.c
--- a/sbin/raidctl/raidctl.c Sat Mar 13 12:57:23 2010 +0000
+++ b/sbin/raidctl/raidctl.c Sat Mar 13 13:45:05 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: raidctl.c,v 1.46 2010/03/13 07:21:37 jld Exp $ */
+/* $NetBSD: raidctl.c,v 1.47 2010/03/13 13:45:05 plunky 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.46 2010/03/13 07:21:37 jld Exp $");
+__RCSID("$NetBSD: raidctl.c,v 1.47 2010/03/13 13:45:05 plunky Exp $");
#endif
@@ -483,8 +483,8 @@
rf_output_pmstat(int fd, int raidID)
{
char srs[7];
- int i, j, dr;
- int dis;
+ unsigned int i, j;
+ int dis, dr;
struct rf_pmstat st;
do_ioctl(fd, RAIDFRAME_PARITYMAP_STATUS, &st,
Home |
Main Index |
Thread Index |
Old Index