summaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/apm/apm.c')
-rw-r--r--usr.sbin/apm/apm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c
index a787478755e..d5750911f05 100644
--- a/usr.sbin/apm/apm.c
+++ b/usr.sbin/apm/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.6 2001/11/14 22:20:22 miod Exp $ */
+/* $OpenBSD: apm.c,v 1.7 2002/09/06 19:14:47 deraadt Exp $ */
/*
* Copyright (c) 1996 John T. Kohl
@@ -279,6 +279,7 @@ main(int argc, char *argv[])
}
break;
default:
+ break;
}
switch (reply.newstate) {
case SUSPEND:
@@ -288,6 +289,7 @@ main(int argc, char *argv[])
printf("System will enter standby mode momentarily.\n");
break;
default:
+ break;
}
} else
errx(rval, "cannot get reply from APM daemon");