Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168106133
D9944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
437 B
Referenced Files
None
Subscribers
None
D9944.diff
View Options
Index: head/usr.sbin/camdd/camdd.c
===================================================================
--- head/usr.sbin/camdd/camdd.c
+++ head/usr.sbin/camdd/camdd.c
@@ -1004,8 +1004,7 @@
goto bailout;
}
- for (i = 0; i < sizeof(req_status_items) /
- sizeof(req_status_items[0]); i++) {
+ for (i = 0; i < nitems(req_status_items); i++) {
char *name;
name = __DECONST(char *, req_status_items[i].name);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 27, 10:18 AM (6 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37374085
Default Alt Text
D9944.diff (437 B)
Attached To
Mode
D9944: Use nitems() from sys/param.h
Attached
Detach File
Event Timeline
Log In to Comment