From ff5d00776d51e850eac8c2d51f8c960b745f0255 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 23 Jul 1997 17:44:02 +0000 Subject: (main): Failure to map MAPPED_TIME is a fatal error. Include . --- nfs/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nfs/main.c b/nfs/main.c index 38e0124f..add6ecc8 100644 --- a/nfs/main.c +++ b/nfs/main.c @@ -29,6 +29,7 @@ #include #include #include +#include extern char *localhost (); @@ -358,7 +359,7 @@ main (int argc, char **argv) errno = maptime_map (0, 0, &mapped_time); if (errno) - perror ("mapping time"); + error (2, errno, "mapping time"); cthread_detach (cthread_fork ((cthread_fn_t) timeout_service_thread, 0)); cthread_detach (cthread_fork ((cthread_fn_t) rpc_receive_thread, 0)); -- cgit v1.2.3