diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-07-29 01:43:34 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-07-29 01:43:34 (GMT) |
commit | 62f916d18120f71be5862e8b22791ab3a8a5c216 (patch) | |
tree | f24d6cd299d1b8f08c2771f8dbf81933a686679c /plugins-root/check_dhcp.c | |
parent | 2654ee5023da500c227d7d8d1ac0f9c35ec8a29c (diff) | |
download | monitoring-plugins-62f916d18120f71be5862e8b22791ab3a8a5c216.tar.gz |
Fix two Solaris compile problems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1462 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r-- | plugins-root/check_dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 528298e..069d0c4 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){ | |||
1196 | bind_req->dl_xidtest_flg = 0; | 1196 | bind_req->dl_xidtest_flg = 0; |
1197 | put_ctrl(fd, sizeof(dl_bind_req_t), 0); | 1197 | put_ctrl(fd, sizeof(dl_bind_req_t), 0); |
1198 | get_msg(fd); | 1198 | get_msg(fd); |
1199 | if GOT_ERR == check_ctrl(DL_BIND_ACK)){ | 1199 | if (GOT_ERR == check_ctrl(DL_BIND_ACK)){ |
1200 | printf(_("Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"), strerror(errno)); | 1200 | printf(_("Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"), strerror(errno)); |
1201 | exit(STATE_UNKNOWN); | 1201 | exit(STATE_UNKNOWN); |
1202 | } | 1202 | } |