aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sr
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-01-20 01:49:45 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-01-20 01:49:45 +0000
commit1b67001469ad737d7d793c00a622819a6f869bbb (patch)
tree5ad69b9ef2fcc449471a62f67becc55753ad96a7 /sys/dev/sr
parent5a5e442acd62772685c4347df269aa81bfd9d1e8 (diff)
Fix an #ifdef that should have been and #ifndef.
Noticed by: Hellmuth Michaelis <hm@hcs.de>
Notes
svn path=/head/; revision=56304
Diffstat (limited to 'sys/dev/sr')
-rw-r--r--sys/dev/sr/if_sr.c2
-rw-r--r--sys/dev/sr/if_sr_isa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index c331e3f55743..e9b0d087b834 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -59,7 +59,7 @@
#endif
#endif /* NETGRAPH */
-#ifdef NETGRAPH
+#ifndef NETGRAPH
#include "sppp.h"
#if NSPPP <= 0
#error Device 'sr' requires sppp.
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index c331e3f55743..e9b0d087b834 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -59,7 +59,7 @@
#endif
#endif /* NETGRAPH */
-#ifdef NETGRAPH
+#ifndef NETGRAPH
#include "sppp.h"
#if NSPPP <= 0
#error Device 'sr' requires sppp.