diff options
author | 2009-11-26 23:06:49 +0000 | |
---|---|---|
committer | 2009-11-26 23:06:49 +0000 | |
commit | 6d5c736537d37c018cbb02646bc6500c6c2f26d9 (patch) | |
tree | 93a7c1710cc11dc3f08375e99ee91b04cd9314f6 /sys | |
parent | Make types clearer and lint happier. (diff) | |
download | wireguard-openbsd-6d5c736537d37c018cbb02646bc6500c6c2f26d9.tar.xz wireguard-openbsd-6d5c736537d37c018cbb02646bc6500c6c2f26d9.zip |
- let this compile again.
ok jsing@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/softraid_aoe.c | 6 |
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 */ |