summaryrefslogtreecommitdiff
path: root/usr.sbin/config/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/config/cmd.c')
-rw-r--r--usr.sbin/config/cmd.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/config/cmd.c b/usr.sbin/config/cmd.c
index cba1816ee1a..029ecc90332 100644
--- a/usr.sbin/config/cmd.c
+++ b/usr.sbin/config/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.4 2001/01/31 22:41:32 maja Exp $ */
+/* $OpenBSD: cmd.c,v 1.5 2001/02/04 20:42:12 maja Exp $ */
/*
* Copyright (c) 1999-2001 Mats O Jansson. All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: cmd.c,v 1.4 2001/01/31 22:41:32 maja Exp $";
+static char rcsid[] = "$OpenBSD: cmd.c,v 1.5 2001/02/04 20:42:12 maja Exp $";
#endif
#include <sys/types.h>
@@ -230,6 +230,14 @@ Xlist(cmd)
cd++;
}
+ if (nopdev == 0) {
+ while(i <= (totdev+maxpseudo)) {
+ if (more())
+ break;
+ pdev(i++);
+ }
+ }
+
cnt = -1;
return (CMD_CONT);