summaryrefslogtreecommitdiffstats
path: root/src/responder/sudo/sudosrv_get_sudorules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/sudo/sudosrv_get_sudorules.c')
-rw-r--r--src/responder/sudo/sudosrv_get_sudorules.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c
index 0608888..92a09f2 100644
--- a/src/responder/sudo/sudosrv_get_sudorules.c
+++ b/src/responder/sudo/sudosrv_get_sudorules.c
@@ -440,6 +440,8 @@ static errno_t sudosrv_fetch_rules(TALLOC_CTX *mem_ctx,
ret = sudosrv_cached_defaults(mem_ctx, domain, &rules, &num_rules);
break;
+ default:
+ ret = EINVAL;
}
if (ret != EOK) {