Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/iscsi fix amd64/conf/ALL build failure
details: https://anonhg.NetBSD.org/src/rev/5d9becc07cab
branches: trunk
changeset: 342483:5d9becc07cab
user: knakahara <knakahara%NetBSD.org@localhost>
date: Thu Dec 24 03:41:03 2015 +0000
description:
fix amd64/conf/ALL build failure
diffstat:
sys/dev/iscsi/iscsi_send.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r eaaf2223184c -r 5d9becc07cab sys/dev/iscsi/iscsi_send.c
--- a/sys/dev/iscsi/iscsi_send.c Thu Dec 24 02:27:14 2015 +0000
+++ b/sys/dev/iscsi/iscsi_send.c Thu Dec 24 03:41:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iscsi_send.c,v 1.14 2015/05/30 18:09:31 joerg Exp $ */
+/* $NetBSD: iscsi_send.c,v 1.15 2015/12/24 03:41:03 knakahara Exp $ */
/*-
* Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -54,10 +54,12 @@
my_soo_write(connection_t *conn, struct uio *u)
{
struct socket *so = conn->sock->f_socket;
+ int ret;
+#ifdef ISCSI_DEBUG
size_t resid = u->uio_resid;
- int ret;
assert(resid != 0);
+#endif
ret = sosend(so, NULL, u, NULL, NULL, 0, conn->threadobj);
Home |
Main Index |
Thread Index |
Old Index