summaryrefslogtreecommitdiffstats
path: root/tools/start-stop-daemon.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-30 17:05:23 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-01-31 21:15:59 +0100
commit0678d01a704fc0715aa880cfea8dc154ce5ea071 (patch)
tree18d3f9118c20bd105dac4d5fe4ffc5757b9f175b /tools/start-stop-daemon.c
parentqpb: Add missing enum's to switch statement (diff)
downloadfrr-0678d01a704fc0715aa880cfea8dc154ce5ea071.tar.xz
frr-0678d01a704fc0715aa880cfea8dc154ce5ea071.zip
tools: Add missing enums to switch statement
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tools/start-stop-daemon.c')
-rw-r--r--tools/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/start-stop-daemon.c b/tools/start-stop-daemon.c
index 0e4cf271f..e196a372e 100644
--- a/tools/start-stop-daemon.c
+++ b/tools/start-stop-daemon.c
@@ -885,7 +885,7 @@ static int run_stop_schedule(void)
strerror(errno));
}
- default:
+ case sched_forever:
assert(!"schedule[].type value must be valid");
}