diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-27 14:44:13 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-27 14:44:13 +0000 |
commit | dcb35c061edb54776541bad319d4da3448dcb09b (patch) | |
tree | b06a1f7dac4c5558a5175c144cdc4a2ca7fc97dd | |
parent | a76b46580eef36f7765bae26ec8a9a9f0fea4408 (diff) | |
download | pw-darwin-dcb35c061edb54776541bad319d4da3448dcb09b.tar.gz pw-darwin-dcb35c061edb54776541bad319d4da3448dcb09b.tar.zst pw-darwin-dcb35c061edb54776541bad319d4da3448dcb09b.zip |
Fix a regression in "pw group show" introduced r242349:
print a newline after printing each group line.
PR: bin/174731
Submitted by: Jan Beich <jbeich@tormail.org>
-rw-r--r-- | pw/pw_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_group.c b/pw/pw_group.c index fda62b2..3259412 100644 --- a/pw/pw_group.c +++ b/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; |