Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145192330
D9941.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
461 B
Referenced Files
None
Subscribers
None
D9941.diff
View Options
Index: head/usr.sbin/boot0cfg/boot0cfg.c
===================================================================
--- head/usr.sbin/boot0cfg/boot0cfg.c
+++ head/usr.sbin/boot0cfg/boot0cfg.c
@@ -88,7 +88,7 @@
{"update", 1},
{"setdrv", 0}
};
-static const int nopt = sizeof(opttbl) / sizeof(opttbl[0]);
+static const int nopt = nitems(opttbl);
static const char fmt0[] = "# flag start chs type"
" end chs offset size\n";
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 17, 11:08 PM (9 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28828437
Default Alt Text
D9941.diff (461 B)
Attached To
Mode
D9941: Use nitems() from sys/param.h
Attached
Detach File
Event Timeline
Log In to Comment