diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h --- a/stand/libsa/stand.h +++ b/stand/libsa/stand.h @@ -139,8 +139,9 @@ /* * Device switch */ +#define DEV_NAMLEN 8 /* Length of name of device class */ struct devsw { - const char dv_name[8]; + const char dv_name[DEV_NAMLEN]; int dv_type; /* opaque type constant, arch-dependant */ #define DEVT_NONE 0 #define DEVT_DISK 1