Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169356113
D9944.id26118.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.id26118.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
Wed, Sep 2, 7:29 AM (6 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37928752
Default Alt Text
D9944.id26118.diff (437 B)
Attached To
Mode
D9944: Use nitems() from sys/param.h
Attached
Detach File
Event Timeline
Log In to Comment