aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-29 20:57:54 +0000
committerBill Nottingham <notting@redhat.com>2004-10-29 20:57:54 +0000
commit3c3fad46aff9737480f980289a6f56200786c1cd (patch)
tree7277b45f03275307612409958b8f7b01c8960ce1
parent55bec974db36aa474a15dd49947141b61f5cdf71 (diff)
downloadinitscripts-3c3fad46aff9737480f980289a6f56200786c1cd.tar
initscripts-3c3fad46aff9737480f980289a6f56200786c1cd.tar.gz
initscripts-3c3fad46aff9737480f980289a6f56200786c1cd.tar.bz2
initscripts-3c3fad46aff9737480f980289a6f56200786c1cd.tar.xz
initscripts-3c3fad46aff9737480f980289a6f56200786c1cd.zip
don't probe the serial bus
-rw-r--r--src/kmodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kmodule.c b/src/kmodule.c
index b08b9557..5b0340ee 100644
--- a/src/kmodule.c
+++ b/src/kmodule.c
@@ -17,7 +17,6 @@
#include <unistd.h>
#include <errno.h>
-#include <newt.h>
#include <popt.h>
#include <sys/utsname.h>
@@ -58,7 +57,7 @@ int main(int argc, char **argv)
{
char *bus = NULL, *class = NULL;
int x, rc;
- enum deviceBus probeBus = BUS_UNSPEC;
+ enum deviceBus probeBus = BUS_UNSPEC & ~BUS_SERIAL;
enum deviceClass probeClass = CLASS_UNSPEC;
poptContext context;
struct device **devs;