summaryrefslogtreecommitdiff
path: root/usr/src/cmd/power
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/power')
-rw-r--r--usr/src/cmd/power/Makefile3
-rw-r--r--usr/src/cmd/power/powerd.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/power/Makefile b/usr/src/cmd/power/Makefile
index 3496ab78df..85e903e3ec 100644
--- a/usr/src/cmd/power/Makefile
+++ b/usr/src/cmd/power/Makefile
@@ -90,6 +90,9 @@ $(ROOTUSRSBINSYSIDPM) := FILEMODE= 755
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-unused-value
.PARALLEL: $(OBJS)
diff --git a/usr/src/cmd/power/powerd.c b/usr/src/cmd/power/powerd.c
index 227e91ac38..2d4a3ae274 100644
--- a/usr/src/cmd/power/powerd.c
+++ b/usr/src/cmd/power/powerd.c
@@ -399,7 +399,6 @@ autos3_monitor(void)
logerror("Unable to open %s: %s", SRN, strerror(errno));
thr_exit((void *) errno);
}
- logerror("Able to open %s", SRN);
/*
* Tell device we want the special sauce