about summary refs log tree commit diff
path: root/nis/nis_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_call.c')
-rw-r--r--nis/nis_call.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nis/nis_call.c b/nis/nis_call.c
index cd1b6170d4..bf64558adc 100644
--- a/nis/nis_call.c
+++ b/nis/nis_call.c
@@ -176,7 +176,10 @@ __do_niscall (const nis_server *serv, int serv_len, u_long prog,
     {
       dir = readColdStartFile ();
       if (dir == NULL)
-	return NIS_UNAVAIL;
+	{
+	  fputs (_("Error: could not find a NIS_COLD_START file\n"), stderr);
+	  return NIS_UNAVAIL;
+	}
       server = dir->do_servers.do_servers_val;
       server_len = dir->do_servers.do_servers_len;
     }