Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146161037
D25911.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25911.diff
View Options
Index: head/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
===================================================================
--- head/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
+++ head/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
@@ -1828,11 +1828,11 @@
break;
case SNMP_SYNTAX_NOSUCHOBJECT:
- fprintf(stdout, "No Such Object\n");
+ fprintf(stderr, "No Such Object\n");
return (val->syntax);
case SNMP_SYNTAX_NOSUCHINSTANCE:
- fprintf(stdout, "No Such Instance\n");
+ fprintf(stderr, "No Such Instance\n");
return (val->syntax);
case SNMP_SYNTAX_ENDOFMIBVIEW:
@@ -1841,12 +1841,12 @@
case SNMP_SYNTAX_NULL:
/* NOTREACHED */
- fprintf(stdout, "agent returned NULL Syntax\n");
+ fprintf(stderr, "agent returned NULL Syntax\n");
return (val->syntax);
default:
/* NOTREACHED - If here - then all went completely wrong. */
- fprintf(stdout, "agent returned unknown syntax\n");
+ fprintf(stderr, "agent returned unknown syntax\n");
return (-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 8:31 AM (15 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29105897
Default Alt Text
D25911.diff (1 KB)
Attached To
Mode
D25911: bsnmpget should print protocol errors to stderr
Attached
Detach File
Event Timeline
Log In to Comment