diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-12-11 21:21:19 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-12-11 21:21:19 +0000 |
commit | 7c0703b2a547d65ce1921ec3adeb6cb277f5f35a (patch) | |
tree | ee72ca9953ddcde25be632639bb3242cac086577 /sbin/photurisd/state.c | |
parent | cd40f5ad40cd4912648f1cb155bf3167202ddc89 (diff) |
proper logging.
Diffstat (limited to 'sbin/photurisd/state.c')
-rw-r--r-- | sbin/photurisd/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/photurisd/state.c b/sbin/photurisd/state.c index 528ef0e1a7d..f7f16b3548f 100644 --- a/sbin/photurisd/state.c +++ b/sbin/photurisd/state.c @@ -44,7 +44,7 @@ #include "photuris.h" #include "state.h" #include "schedule.h" -#include "errlog.h" +#include "log.h" static struct stateob *stateob = NULL; @@ -96,7 +96,7 @@ state_save_verification(struct stateob *st, u_int8_t *buf, u_int16_t len) free(st->verification); if ((st->verification = calloc(len, sizeof(u_int8_t))) == NULL) { - log_error(1, "calloc() in state_save_verification()"); + log_error("calloc() in state_save_verification()"); return -1; } } |