diff options
author | phk <phk@FreeBSD.org> | 2002-05-19 18:59:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-19 18:59:39 +0000 |
commit | c98504cdac8abe6525bcc3ed6bc4091ef6f8cfa8 (patch) | |
tree | 9e97a572b372bf53519b7089025767f7581f6480 /sys/geom/geom_slice.c | |
parent | aa08c897e4485ffee5ba2f6dadfb63bc9f3ed3dd (diff) | |
download | FreeBSD-src-c98504cdac8abe6525bcc3ed6bc4091ef6f8cfa8.zip FreeBSD-src-c98504cdac8abe6525bcc3ed6bc4091ef6f8cfa8.tar.gz |
Include needed #include for regression tests.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom/geom_slice.c')
-rw-r--r-- | sys/geom/geom_slice.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c index dc8d3ab..45f8a10 100644 --- a/sys/geom/geom_slice.c +++ b/sys/geom/geom_slice.c @@ -42,6 +42,7 @@ #include <unistd.h> #include <stdlib.h> #include <signal.h> +#include <string.h> #include <err.h> #else #include <sys/systm.h> @@ -301,10 +302,8 @@ g_slice_orphan(struct g_consumer *cp) gp = cp->geom; gp->flags |= G_GEOM_WITHER; - /* First prevent any new requests */ error = cp->provider->error; LIST_FOREACH(pp, &gp->provider, provider) g_orphan_provider(pp, error); - return; } |