summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-07-06 17:06:54 +0000
committerpjd <pjd@FreeBSD.org>2004-07-06 17:06:54 +0000
commit28129f07e4972ded2f17941cc6ffdafc4f53e978 (patch)
treeb48f20547c0b2fb542a9a3c1e63b2f9b6b72e4be /sys/geom
parent7e85c099fce5fdf71a435eaa2e2d4981adc06d24 (diff)
downloadFreeBSD-src-28129f07e4972ded2f17941cc6ffdafc4f53e978.zip
FreeBSD-src-28129f07e4972ded2f17941cc6ffdafc4f53e978.tar.gz
Add missing argument.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/label/g_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/label/g_label.c b/sys/geom/label/g_label.c
index 095e5cd..b8ce0cc 100644
--- a/sys/geom/label/g_label.c
+++ b/sys/geom/label/g_label.c
@@ -211,7 +211,7 @@ g_label_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_attach(cp, pp);
error = g_access(cp, 1, 0, 0);
if (error != 0) {
- g_wither_geom(gp);
+ g_wither_geom(gp, ENXIO);
return (NULL);
}
OpenPOWER on IntegriCloud