summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dlmgmtd
diff options
context:
space:
mode:
authorJoshua M. Clulow <jmc@joyent.com>2012-09-27 06:41:15 +0000
committerJoshua M. Clulow <jmc@joyent.com>2012-09-27 23:32:56 +0000
commit2fc94eb80927cd8338bbda17e1165bd69a597fe4 (patch)
tree6160f4c64ed9ea05bda14c4f67b0130f76d0ef1b /usr/src/cmd/dlmgmtd
parent87ab2a00cf8df8fb2fdfae2c4a4b43d888e14509 (diff)
downloadillumos-joyent-2fc94eb80927cd8338bbda17e1165bd69a597fe4.tar.gz
OS-1572 Explicitly handle all possible enum values in switches
Reviewed by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/dlmgmtd')
-rw-r--r--usr/src/cmd/dlmgmtd/dlmgmt_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/dlmgmtd/dlmgmt_main.c b/usr/src/cmd/dlmgmtd/dlmgmt_main.c
index b9c0ee6457..e0c179cf5e 100644
--- a/usr/src/cmd/dlmgmtd/dlmgmt_main.c
+++ b/usr/src/cmd/dlmgmtd/dlmgmt_main.c
@@ -22,7 +22,7 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright 2011 Joyent, Inc. All rights reserved.
+ * Copyright 2012 Joyent, Inc. All rights reserved.
*/
/*
@@ -255,6 +255,8 @@ again:
case ZONE_IS_DEAD:
/* FALLTHRU */
continue;
+ default:
+ break;
}
if ((res = dlmgmt_zone_init(zids[i])) != 0) {
(void) fprintf(stderr, "zone (%ld) init error %s",