summaryrefslogtreecommitdiff
path: root/sbin/photurisd/handle_resource_limit.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-12-11 21:21:19 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-12-11 21:21:19 +0000
commit7c0703b2a547d65ce1921ec3adeb6cb277f5f35a (patch)
treeee72ca9953ddcde25be632639bb3242cac086577 /sbin/photurisd/handle_resource_limit.c
parentcd40f5ad40cd4912648f1cb155bf3167202ddc89 (diff)
proper logging.
Diffstat (limited to 'sbin/photurisd/handle_resource_limit.c')
-rw-r--r--sbin/photurisd/handle_resource_limit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/photurisd/handle_resource_limit.c b/sbin/photurisd/handle_resource_limit.c
index 90994da4154..d902f56abff 100644
--- a/sbin/photurisd/handle_resource_limit.c
+++ b/sbin/photurisd/handle_resource_limit.c
@@ -34,7 +34,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: handle_resource_limit.c,v 1.1 1998/11/14 23:37:24 deraadt Exp $";
+static char rcsid[] = "$Id: handle_resource_limit.c,v 1.2 2000/12/11 21:21:17 provos Exp $";
#endif
#include <stdio.h>
@@ -48,7 +48,7 @@ static char rcsid[] = "$Id: handle_resource_limit.c,v 1.1 1998/11/14 23:37:24 de
#include "buffer.h"
#include "packet.h"
#include "schedule.h"
-#include "errlog.h"
+#include "log.h"
int
handle_resource_limit(u_char *packet, int size, char *address)
@@ -64,7 +64,7 @@ handle_resource_limit(u_char *packet, int size, char *address)
counter = packet[ERROR_MESSAGE_PACKET_SIZE];
if ((st = state_find_cookies(NULL, header->icookie, NULL)) == NULL) {
- log_error(0, "No state for RESOURCE_LIMIT message from %s",
+ log_print("No state for RESOURCE_LIMIT message from %s",
address);
return -1;
}
@@ -100,7 +100,7 @@ handle_resource_limit(u_char *packet, int size, char *address)
/* XXX - we have to wait for expiring of another SPI */
break;
default:
- log_error(0, "Wrong phase for RESOURCE_LIMIT from %s",
+ log_print("Wrong phase for RESOURCE_LIMIT from %s",
address);
return 0;
}