summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw_vpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pw/pw_vpw.c')
-rw-r--r--usr.sbin/pw/pw_vpw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw_vpw.c b/usr.sbin/pw/pw_vpw.c
index ef12437..bc5713e 100644
--- a/usr.sbin/pw/pw_vpw.c
+++ b/usr.sbin/pw/pw_vpw.c
@@ -190,11 +190,13 @@ vendgrent(void)
}
}
-int
+RET_SETGRENT
vsetgrent(void)
{
vendgrent();
+#if defined(__FreeBSD__)
return 0;
+#endif
}
static struct group *
OpenPOWER on IntegriCloud