diff options
-rw-r--r-- | toys/posix/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/date.c b/toys/posix/date.c index 7a42fc81..9f244ca0 100644 --- a/toys/posix/date.c +++ b/toys/posix/date.c @@ -228,5 +228,5 @@ void date_main(void) bad_showdate: setdate = TT.d; bad_setdate: - perror_exit("bad date '%s'", setdate); + error_exit("bad date '%s'", setdate); } |