summaryrefslogtreecommitdiffstats
path: root/commands/hwclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hwclock.c')
-rw-r--r--commands/hwclock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/hwclock.c b/commands/hwclock.c
index 6a0fe0342a..5073618675 100644
--- a/commands/hwclock.c
+++ b/commands/hwclock.c
@@ -123,6 +123,8 @@ static int do_hwclock(int argc, char *argv[])
ntp_to_hw = 1;
ntpserver = optarg;
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}