diff -ruN hotplug-2004_03_11.orig/etc/hotplug/hotplug.functions hotplug-2004_03_11/etc/hotplug/hotplug.functions
--- hotplug-2004_03_11.orig/etc/hotplug/hotplug.functions	2004-03-20 23:56:49.000000000 +0900
+++ hotplug-2004_03_11/etc/hotplug/hotplug.functions	2004-03-20 23:56:05.000000000 +0900
@@ -32,10 +32,15 @@
 #
 # for diagnostics
 #
-if [ -t 1 -o -z "$LOGGER" ]; then
+if [ -t 1 -a -z "$LOGGER" ]; then
     mesg () {
 	echo "$@"
     }
+elif [ -t 1 ]; then
+   mesg () {
+	echo "$@"
+	$LOGGER -t $(basename $0)"[$$]" "$@"
+   }
 else
     mesg () {
 	$LOGGER -t $(basename $0)"[$$]" "$@"
