Module Name:    src
Committed By:   mlelstv
Date:           Mon Jun 25 20:39:54 UTC 2012

Modified Files:
        src/sbin/iscsictl: iscsic_driverif.c

Log Message:
it's really 32bit


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sbin/iscsictl/iscsic_driverif.c

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

Modified files:

Index: src/sbin/iscsictl/iscsic_driverif.c
diff -u src/sbin/iscsictl/iscsic_driverif.c:1.5 src/sbin/iscsictl/iscsic_driverif.c:1.6
--- src/sbin/iscsictl/iscsic_driverif.c:1.5	Mon Jun 25 20:33:56 2012
+++ src/sbin/iscsictl/iscsic_driverif.c	Mon Jun 25 20:39:54 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: iscsic_driverif.c,v 1.5 2012/06/25 20:33:56 mlelstv Exp $	*/
+/*	$NetBSD: iscsic_driverif.c,v 1.6 2012/06/25 20:39:54 mlelstv Exp $	*/
 
 /*-
  * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@@ -609,7 +609,7 @@ report_luns(int argc, char **argv)
 		return rc;
 	}
 	(void) memcpy(&n, buf, sizeof(n));
-	llen = ntohs(n);
+	llen = ntohl(n);
 	if (!llen) {
 		printf("No LUNs!\n");
 		return 1;

Reply via email to