summaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:14:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:14:48 +0000
commitf5c31b4ba15b6eaae69d5d2c0b0ae4b5542403be (patch)
tree2f42257c94b4365ef7cb308420b7ef6f09114258 /usr.sbin/apm/apm.c
parent9bb179f0db68a83ec195f894c661b3eb9e5f1202 (diff)
put some code after default:
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");