From 4cc0bb10fd534a6f8b695282082b07936e934f85 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 5 Oct 2018 15:14:28 -0700 Subject: date: fix some tests. `errno` isn't meaningful here. --- toys/posix/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3