summaryrefslogtreecommitdiff
path: root/usr.sbin/bootpd
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
commit923dcd6706e06e5d73c82258a99ae176f75a6804 (patch)
tree86d50af5a120a945a4631b83c9834f38fb448d92 /usr.sbin/bootpd
parent5158e01d42b380c30ab5e2d29d8b053c2e336cb2 (diff)
errno is not specified to be int, but something from errno.h. ok millert@
Diffstat (limited to 'usr.sbin/bootpd')
-rw-r--r--usr.sbin/bootpd/report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bootpd/report.c b/usr.sbin/bootpd/report.c
index 8e2bf5a8029..404c2badf4e 100644
--- a/usr.sbin/bootpd/report.c
+++ b/usr.sbin/bootpd/report.c
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <string.h>
#include <syslog.h>
+#include <errno.h>
#include "report.h"
@@ -122,7 +123,6 @@ report(int priority, char *fmt,...)
char *
get_errmsg(void)
{
- extern int errno;
return strerror(errno);
}