diff options
author | phk <phk@FreeBSD.org> | 2003-06-07 15:32:09 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-06-07 15:32:09 +0000 |
commit | c9fca2ba58122a83e0cdb9fb368520d5548350bc (patch) | |
tree | 6964930c572d769e6434918b7e21f5f33d2fb895 /sys/geom | |
parent | 01274259b9dbe6e8c3f1736e6c8c853f65cd9354 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/geom/geom_dev.c | 1 |
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 "); |