From 62f916d18120f71be5862e8b22791ab3a8a5c216 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Sat, 29 Jul 2006 01:43:34 +0000 Subject: Fix two Solaris compile problems git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1462 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-root/check_dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins-root') diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 528298e5..069d0c4d 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c @@ -1196,7 +1196,7 @@ static int dl_bind(int fd, int sap, u_char *addr){ bind_req->dl_xidtest_flg = 0; put_ctrl(fd, sizeof(dl_bind_req_t), 0); get_msg(fd); - if GOT_ERR == check_ctrl(DL_BIND_ACK)){ + if (GOT_ERR == check_ctrl(DL_BIND_ACK)){ printf(_("Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"), strerror(errno)); exit(STATE_UNKNOWN); } -- cgit v1.2.3-74-g34f1