summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-03-12 17:48:28 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-03-12 17:48:28 +0000
commit1fb35acd1c757ac4086bf17c55f2e1f6f7bc960b (patch)
tree6b5b2cd83f606021e721b9f8bd3ed43febd9cf62
parent4e871e762db89f644d31f45309cbbc3dc2d58e93 (diff)
remove noisy warning message
ok claudio@
-rw-r--r--usr.sbin/snmpd/ber.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/snmpd/ber.c b/usr.sbin/snmpd/ber.c
index 2529c24f102..ca77260f3c8 100644
--- a/usr.sbin/snmpd/ber.c
+++ b/usr.sbin/snmpd/ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ber.c,v 1.10 2008/03/12 17:41:38 reyk Exp $ */
+/* $OpenBSD: ber.c,v 1.11 2008/03/12 17:48:27 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -1166,8 +1166,6 @@ ber_getc(struct ber *b, u_char *c)
r = ber_readbuf(b, c, 1);
else
r = read(b->fd, c, 1);
- if (r == -1)
- warn("ber_getc");
return r;
}