diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1995-03-26 03:15:39 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1995-03-26 03:15:39 +0000 |
| commit | bdb44d5fb6c056c07dc2ad478bb50b3756349a8a (patch) | |
| tree | 12eb96b1e4bf0132ca2f2c59d9379e03beab9761 /usr.sbin/bootparamd | |
| parent | 4b99bfd3751308ac6994cb3b1dd780f28b055c02 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/bootparamd')
| -rw-r--r-- | usr.sbin/bootparamd/callbootd/callbootd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c index 22dbd5a9b115..421bb3cfb06f 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: |
