diff --git a/usr.sbin/pw/pw_group.c b/usr.sbin/pw/pw_group.c index fda62b2984c5..3259412208fc 100644 --- a/usr.sbin/pw/pw_group.c +++ b/usr.sbin/pw/pw_group.c @@ -407,7 +407,7 @@ print_group(struct group * grp, int pretty) char *buf = NULL; buf = gr_make(grp); - fputs(buf, stdout); + printf("%s\n", buf); free(buf); } else { int i;