Module Name:    othersrc
Committed By:   riz
Date:           Fri Jun 10 18:49:33 UTC 2011

Modified Files:
        othersrc/external/bsd/iscsi/sbin/iscsid: iscsid_main.c

Log Message:
Use size_t for sizes, not int, so this can build on 64-bit platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    othersrc/external/bsd/iscsi/sbin/iscsid/iscsid_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/iscsi/sbin/iscsid/iscsid_main.c
diff -u othersrc/external/bsd/iscsi/sbin/iscsid/iscsid_main.c:1.1.1.1 othersrc/external/bsd/iscsi/sbin/iscsid/iscsid_main.c:1.2
--- othersrc/external/bsd/iscsi/sbin/iscsid/iscsid_main.c:1.1.1.1	Mon May  2 07:01:08 2011
+++ othersrc/external/bsd/iscsi/sbin/iscsid/iscsid_main.c	Fri Jun 10 18:49:33 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: iscsid_main.c,v 1.1.1.1 2011/05/02 07:01:08 agc Exp $	*/
+/*	$NetBSD: iscsid_main.c,v 1.2 2011/06/10 18:49:33 riz Exp $	*/
 
 /*-
  * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@@ -81,7 +81,8 @@
 {
 	iscsi_set_node_name_parameters_t snp = { 0 };
 	uint32_t hid = 0;
-	int siz, mib[2];
+	size_t siz;
+	int mib[2];
 	char *s;
 
 	mib[0] = CTL_KERN;

Reply via email to