summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_dev.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-06-07 15:32:09 +0000
committerphk <phk@FreeBSD.org>2003-06-07 15:32:09 +0000
commitc9fca2ba58122a83e0cdb9fb368520d5548350bc (patch)
tree6964930c572d769e6434918b7e21f5f33d2fb895 /sys/geom/geom_dev.c
parent01274259b9dbe6e8c3f1736e6c8c853f65cd9354 (diff)
downloadFreeBSD-src-c9fca2ba58122a83e0cdb9fb368520d5548350bc.zip
FreeBSD-src-c9fca2ba58122a83e0cdb9fb368520d5548350bc.tar.gz
Wait for everything to settle before we try to print the list of
geom devices.
Diffstat (limited to 'sys/geom/geom_dev.c')
-rw-r--r--sys/geom/geom_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c
index ef9ecf1..65ae722 100644
--- a/sys/geom/geom_dev.c
+++ b/sys/geom/geom_dev.c
@@ -81,6 +81,7 @@ g_dev_print(void)
{
struct g_geom *gp;
+ g_waitidle();
if (LIST_EMPTY(&g_dev_class.geom))
return (0);
printf("List of GEOM disk devices:\n ");
OpenPOWER on IntegriCloud