summaryrefslogtreecommitdiff
path: root/usr/src/cmd/getent/getent.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/getent/getent.c')
-rw-r--r--usr/src/cmd/getent/getent.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/cmd/getent/getent.c b/usr/src/cmd/getent/getent.c
index 782034d956..ea15e1dd9b 100644
--- a/usr/src/cmd/getent/getent.c
+++ b/usr/src/cmd/getent/getent.c
@@ -56,6 +56,7 @@ static struct table t[] = {
{ "exec_attr", dogetexecattr },
{ "prof_attr", dogetprofattr },
{ "user_attr", dogetuserattr },
+ { "netgroup", dogetnetgr },
{ NULL, NULL }
};
@@ -89,6 +90,10 @@ main(int argc, const char **argv)
(void) fprintf(stderr,
gettext("Syntax error\n"));
break;
+ case EXC_ERROR:
+ (void) fprintf(stderr,
+ gettext("Internal error\n"));
+ break;
case EXC_ENUM_NOT_SUPPORTED:
(void) fprintf(stderr,
gettext("Enumeration not supported on %s\n"), argv[1]);