Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151952495
D9069.id23788.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
701 B
Referenced Files
None
Subscribers
None
D9069.id23788.diff
View Options
Index: head/usr.sbin/mfiutil/mfi_evt.c
===================================================================
--- head/usr.sbin/mfiutil/mfi_evt.c
+++ head/usr.sbin/mfiutil/mfi_evt.c
@@ -540,6 +540,7 @@
char *cp;
ssize_t size;
uint32_t seq, start, stop;
+ uint16_t locale;
uint8_t status;
int ch, error, fd, num_events, verbose;
u_int i;
@@ -580,12 +581,13 @@
}
break;
case 'l':
- if (parse_locale(optarg, &filter.members.locale) < 0) {
+ if (parse_locale(optarg, &locale) < 0) {
error = errno;
warn("Error parsing event locale");
close(fd);
return (error);
}
+ filter.members.locale = locale;
break;
case 'n':
val = strtol(optarg, &cp, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 5:50 PM (19 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31361966
Default Alt Text
D9069.id23788.diff (701 B)
Attached To
Mode
D9069: Avoid taking the address of a packed struct member in mfiutil
Attached
Detach File
Event Timeline
Log In to Comment