summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bootparamd/callbootd/callbootd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c
index 22dbd5a..421bb3c 100644
--- a/usr.sbin/bootparamd/callbootd/callbootd.c
+++ b/usr.sbin/bootparamd/callbootd/callbootd.c
@@ -5,7 +5,7 @@ use and modify. Please send modifications and/or suggestions + bug fixes to
Klas Heggemann <klas@nada.kth.se>
- $Id$
+ $Id: callbootd.c,v 1.1.1.1 1995/02/26 23:40:53 wpaul Exp $
*/
@@ -90,6 +90,11 @@ char **argv;
clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp");
}
+ if ( clnt == NULL ) {
+ fprintf (stderr, "%s: could not contact bootparam server on host %s\n",
+ argv[0], server);
+ exit (1);
+ }
switch (argc) {
case 3:
OpenPOWER on IntegriCloud