summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-01-20 01:49:45 +0000
committerarchie <archie@FreeBSD.org>2000-01-20 01:49:45 +0000
commitba86f900bffcd74a54e07d93c67b59f2087d72ac (patch)
tree54cfafed3d3c7d463a87618b1d402b3e92ae313d /sys/dev/sr
parent10377a13d6a2b2cb88d5e7c5fc85539ef3171c01 (diff)
downloadFreeBSD-src-ba86f900bffcd74a54e07d93c67b59f2087d72ac.zip
FreeBSD-src-ba86f900bffcd74a54e07d93c67b59f2087d72ac.tar.gz
Fix an #ifdef that should have been and #ifndef.
Noticed by: Hellmuth Michaelis <hm@hcs.de>
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 c331e3f..e9b0d08 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 c331e3f..e9b0d08 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.
OpenPOWER on IntegriCloud