summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pccard/pccardd/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pccard/pccardd/file.c b/usr.sbin/pccard/pccardd/file.c
index 0bfcc0b..4643812 100644
--- a/usr.sbin/pccard/pccardd/file.c
+++ b/usr.sbin/pccard/pccardd/file.c
@@ -573,6 +573,7 @@ new_driver(char *name)
drivers = drvp;
drvp->name = newstr(name);
drvp->kernel = newstr(name);
+ drvp->unit = -1;
p = drvp->kernel;
while (*p++)
if (*p >= '0' && *p <= '9') {
OpenPOWER on IntegriCloud