summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-11-26 23:06:50 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-11-26 23:06:50 +0000
commit854d20f9441a2a0daf333bab64ad0dee7e7f6b63 (patch)
tree681b3f4f8a28925fb2e7bb519c29660c131d7e86 /sys
parentbba831e1bed7dd053a6ca376203d72ecdc616b3d (diff)
- let this compile again.
ok jsing@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/softraid_aoe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/softraid_aoe.c b/sys/dev/softraid_aoe.c
index 84905d20c6e..e5e57ab866a 100644
--- a/sys/dev/softraid_aoe.c
+++ b/sys/dev/softraid_aoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_aoe.c,v 1.9 2009/08/09 14:12:25 marco Exp $ */
+/* $OpenBSD: softraid_aoe.c,v 1.10 2009/11/26 23:06:49 jasper Exp $ */
/*
* Copyright (c) 2008 Ted Unangst <tedu@openbsd.org>
* Copyright (c) 2008 Marco Peereboom <marco@openbsd.org>
@@ -95,7 +95,7 @@ sr_aoe_discipline_init(struct sr_discipline *sd)
}
void
-sr_aoe_server_discipline_init(struct sr_dscipline *sd)
+sr_aoe_server_discipline_init(struct sr_discipline *sd)
{
/* Fill out discipline members. */
@@ -116,7 +116,9 @@ sr_aoe_server_discipline_init(struct sr_dscipline *sd)
sd->sd_scsi_rw = NULL;
sd->sd_set_chunk_state = NULL;
sd->sd_set_vol_state = NULL;
+#if 0
disk = 0; /* we are not a disk */
+#endif
}
/* AOE initiator */