summaryrefslogtreecommitdiff
path: root/src/sysusers
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-07-06 13:33:38 +0200
committerTom Gundersen <teg@jklm.no>2014-07-06 14:16:16 +0200
commitbce415edcae8e7af8327de8265d621f95fa5426f (patch)
treeac524dce1e6caf633dd4fa55c7db9d3a19816eba /src/sysusers
parentf14aa1f1b2e4e99ee20393871b5f64f1378ed6c3 (diff)
sysusers: fix uninitialized warning
Diffstat (limited to 'src/sysusers')
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index 1209a5a8b4..c0af69300a 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -1312,6 +1312,8 @@ static int parse_line(const char *fname, unsigned line, const char *buffer) {
h = groups;
break;
+ default:
+ return -EBADMSG;
}
i->type = action[0];