Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166871922
D35910.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
D35910.diff
View Options
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 9:19 AM (8 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36889121
Default Alt Text
D35910.diff (402 B)
Attached To
Mode
D35910: stand: Create DEV_NAMLEN for the length of a device name
Attached
Detach File
Event Timeline
Log In to Comment