Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161687279
D50496.id155935.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
659 B
Referenced Files
None
Subscribers
None
D50496.id155935.diff
View Options
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -955,7 +955,9 @@
narg -= 2;
break;
case SYS_wait4:
- print_number(ip, narg, c);
+ if ((pid_t)*ip == (pid_t)-1)
+ *ip = -1;
+ print_decimal_number(ip, narg, c);
print_number(ip, narg, c);
putchar(',');
print_mask_arg0(sysdecode_wait4_options, *ip);
@@ -968,7 +970,7 @@
c = ',';
ip++;
narg--;
- print_number64(first, ip, narg, c);
+ print_decimal_number64(first, ip, narg, c);
print_number(ip, narg, c);
putchar(',');
print_mask_arg(sysdecode_wait6_options, *ip);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 11:14 PM (13 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34772663
Default Alt Text
D50496.id155935.diff (659 B)
Attached To
Mode
D50496: kdump: nicer printing of wait*() ID arguments
Attached
Detach File
Event Timeline
Log In to Comment