diff --git a/sys/shell/commands/sc_rtc.c b/sys/shell/commands/sc_rtc.c index 268f57361e..675b4b381c 100644 --- a/sys/shell/commands/sc_rtc.c +++ b/sys/shell/commands/sc_rtc.c @@ -161,7 +161,7 @@ int _rtc_handler(int argc, char **argv) else if (strncmp(argv[1], "poweroff", 8) == 0) { rtc_poweroff(); } - else if (strncmp(argv[1], "clearalarm", 8) == 0) { + else if (strncmp(argv[1], "clearalarm", 10) == 0) { rtc_clear_alarm(); } else if (strncmp(argv[1], "getalarm", 8) == 0) {