diff options
Diffstat (limited to 'usr/src/cmd/tsol/tnctl/tnctl.c')
-rw-r--r-- | usr/src/cmd/tsol/tnctl/tnctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/cmd/tsol/tnctl/tnctl.c b/usr/src/cmd/tsol/tnctl/tnctl.c index 521a5fb758..57ff998507 100644 --- a/usr/src/cmd/tsol/tnctl/tnctl.c +++ b/usr/src/cmd/tsol/tnctl/tnctl.c @@ -196,15 +196,16 @@ process_rhl(const char *file) if (tnrh(TNDB_LOAD, rhentp) != 0) { (void) fclose(fp); - if (errno == EFAULT) + if (errno == EFAULT) { perror("tnrh"); - else + } else { translate_inet_addr(rhentp, &alen, abuf, sizeof (abuf)); (void) fprintf(stderr, gettext("tnctl: load of remote-host entry " "%1$s into kernel cache failed: %2$s\n"), abuf, strerror(errno)); + } tsol_endrhent(); exit(1); } |