diff options
author | 2011-04-14 20:59:35 +0000 | |
---|---|---|
committer | 2011-04-14 20:59:35 +0000 | |
commit | f137d458abee2d758502116fb9f4cbbd7bd21b8e (patch) | |
tree | 428ea42f9703a13338cce07f2ebdc58639e13092 /sys/dev/raidframe/rf_disks.c | |
parent | Don't compress wtmp by default; the tools dealing with this log are (diff) | |
download | wireguard-openbsd-f137d458abee2d758502116fb9f4cbbd7bd21b8e.tar.xz wireguard-openbsd-f137d458abee2d758502116fb9f4cbbd7bd21b8e.zip |
Make RAIDFRAME compile
ok miod@
Diffstat (limited to 'sys/dev/raidframe/rf_disks.c')
-rw-r--r-- | sys/dev/raidframe/rf_disks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_disks.c b/sys/dev/raidframe/rf_disks.c index 56e7dc1d32c..e0409eb77b5 100644 --- a/sys/dev/raidframe/rf_disks.c +++ b/sys/dev/raidframe/rf_disks.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_disks.c,v 1.15 2010/09/23 18:49:39 oga Exp $ */ +/* $OpenBSD: rf_disks.c,v 1.16 2011/04/14 20:59:35 pea Exp $ */ /* $NetBSD: rf_disks.c,v 1.31 2000/06/02 01:17:14 oster Exp $ */ /* @@ -655,7 +655,7 @@ rf_ConfigureDisk(RF_Raid_t *raidPtr, char *buf, RF_RaidDisk_t *diskPtr, diskPtr->status = rf_ds_optimal; raidPtr->raid_cinfo[row][col].ci_vp = NULL; - raidPtr->raid_cinfo[row][col].ci_dev = NULL; + raidPtr->raid_cinfo[row][col].ci_dev = 0; error = raidlookup(diskPtr->devname, curproc, &vp); if (error) { |