5832314d0d
- use ${PREFIX}/share/examples/upsd for examples, not ${PREFIX}/lib/upsd - use {INSTALL,DEINSTALL} for notification messages for config files
19 lines
655 B
Plaintext
19 lines
655 B
Plaintext
$OpenBSD: patch-apc_c,v 1.1 2002/08/05 02:25:30 kevlo Exp $
|
|
--- apc.c.orig Fri Aug 2 21:44:22 1996
|
|
+++ apc.c Mon Aug 5 10:01:35 2002
|
|
@@ -164,12 +164,12 @@ apc_tune(val)
|
|
}
|
|
if((r->type & T_TYPE) == T_BINARY) {
|
|
if(!bcmp(v1.val.binary, v0.val.binary, r->size)) {
|
|
- syslog(LOG_WARNING, "apc_tune: toggle wraparound");
|
|
+ syslog(LOG_WARNING, "apc_tune: toggle wraparound register %s", r->name);
|
|
return 1;
|
|
}
|
|
} else {
|
|
if(v1.val.number == v0.val.number) {
|
|
- syslog(LOG_WARNING, "apc_tune: toggle wraparound");
|
|
+ syslog(LOG_WARNING, "apc_tune: toggle wraparound register %s", r->name);
|
|
return 1;
|
|
}
|
|
}
|