diff --git a/usr.sbin/pccard/pccardd/file.c b/usr.sbin/pccard/pccardd/file.c index 0bfcc0b8489f..464381244563 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') {