diff options
author | 2003-09-30 00:18:40 +0000 | |
---|---|---|
committer | 2003-09-30 00:18:40 +0000 | |
commit | 074eb5ef9891c7d659b3100d6c1a1a6eadb9c7b7 (patch) | |
tree | 37bd0e88510f11cc88eae8fed589d60a91b27b6e | |
parent | Revert BN_cmp() change. Its arguments are const. Spotted by miod@. (diff) | |
download | wireguard-openbsd-074eb5ef9891c7d659b3100d6c1a1a6eadb9c7b7.tar.xz wireguard-openbsd-074eb5ef9891c7d659b3100d6c1a1a6eadb9c7b7.zip |
set the log message ident with openlog(), ok henning@
-rw-r--r-- | usr.sbin/sensorsd/sensorsd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sensorsd/sensorsd.c b/usr.sbin/sensorsd/sensorsd.c index a1f1d18cc16..b9149bd6798 100644 --- a/usr.sbin/sensorsd/sensorsd.c +++ b/usr.sbin/sensorsd/sensorsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensorsd.c,v 1.2 2003/09/29 16:05:34 henning Exp $ */ +/* $OpenBSD: sensorsd.c,v 1.3 2003/09/30 00:18:40 jose Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -99,6 +99,8 @@ main(int argc, char *argv[]) if (i == 0) errx(1, "no sensors found"); + openlog("sensorsd", LOG_PID | LOG_NDELAY, LOG_DAEMON); + if (configfile == NULL) if (asprintf(&configfile, "/etc/sensorsd.conf") == -1) err(1, "out of memory"); |