diff options
author | Toomas Soome <tsoome@me.com> | 2017-02-16 08:50:29 +0200 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2017-06-02 18:49:49 +0100 |
commit | 0890d2f3364ef2bc17e6f3c41933166ac751b172 (patch) | |
tree | 31b3fdca933f45764b340e0ae45f28f5a4468d4c | |
parent | 50f7888b60b9fee4c775b56966f02e23da2deef5 (diff) | |
download | illumos-joyent-0890d2f3364ef2bc17e6f3c41933166ac751b172.tar.gz |
8295 tsol: misleading-indentation
Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
-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); } |