Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144493940
D42112.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
327 B
Referenced Files
None
Subscribers
None
D42112.diff
View Options
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -998,8 +998,10 @@
bzero(buf, BUFSIZ);
j = sizeof(buf);
i = sysctl(qoid, nlen + 2, buf, &j, 0, 0);
- if (i < 0)
+ if (i < 0) {
+ putchar('\n');
return (1);
+ }
fputs(buf, stdout);
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 8:15 PM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28602025
Default Alt Text
D42112.diff (327 B)
Attached To
Mode
D42112: sysctl: emit a newline after NULL node descriptions
Attached
Detach File
Event Timeline
Log In to Comment