Skip to content

Commit c1773a9

Browse files
committed
Fix error message in parse_schedule
Make it consistent with the other one: in case of error report failed input.
1 parent 7fce206 commit c1773a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/schedules.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ void parse_schedule(const char *applet, const char *string, int timeout)
198198
TAILQ_INSERT_TAIL(&schedule, item, entries);
199199
if (string) {
200200
if (sscanf(string, "%d", &item->value) != 1)
201-
eerrorx("%s: invalid timeout in schedule",
202-
applet);
201+
eerrorx("%s: invalid timeout value in schedule `%s'",
202+
applet, string);
203203
} else
204204
item->value = 5;
205205

0 commit comments

Comments
 (0)