summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ldap
diff options
context:
space:
mode:
authorChin-Long Shu <Chin-Long.Shu@Sun.COM>2008-10-04 06:53:37 -0700
committerChin-Long Shu <Chin-Long.Shu@Sun.COM>2008-10-04 06:53:37 -0700
commit5aa2fb58740c03ee1a7579942aad13294703a008 (patch)
tree719b9413b08e39ff614a97179e8f57c7ac55ebdf /usr/src/cmd/ldap
parent149b7eb2919570a01d698963b7ab14d45b4edda8 (diff)
downloadillumos-gate-5aa2fb58740c03ee1a7579942aad13294703a008.tar.gz
6605670 Missing "else" in ldaplist.c:main()
Contributed by Vinay Simha B.N. and Beeresh G.
Diffstat (limited to 'usr/src/cmd/ldap')
-rw-r--r--usr/src/cmd/ldap/ns_ldap/ldaplist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/cmd/ldap/ns_ldap/ldaplist.c b/usr/src/cmd/ldap/ns_ldap/ldaplist.c
index 38dc3cd7cc..a75f39f5dd 100644
--- a/usr/src/cmd/ldap/ns_ldap/ldaplist.c
+++ b/usr/src/cmd/ldap/ns_ldap/ldaplist.c
@@ -23,7 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <stdlib.h>
@@ -472,7 +471,7 @@ main(int argc, char **argv)
(void) fprintf(stderr,
gettext("ldaplist: invalid publickey lookup\n"));
rc = 2;
- } if (rc != 0 && rc1 != 0) {
+ } else if (rc != 0 && rc1 != 0) {
(void) fprintf(stderr,
gettext("ldaplist: %s\n"), (err ? err : err1));
if (rc == -1)