Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 14:44:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244738 - head/usr.sbin/pw
Message-ID:  <201212271444.qBREiEw9097372@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Dec 27 14:44:13 2012
New Revision: 244738
URL: http://svnweb.freebsd.org/changeset/base/244738

Log:
  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>

Modified:
  head/usr.sbin/pw/pw_group.c

Modified: head/usr.sbin/pw/pw_group.c
==============================================================================
--- head/usr.sbin/pw/pw_group.c	Thu Dec 27 14:35:06 2012	(r244737)
+++ head/usr.sbin/pw/pw_group.c	Thu Dec 27 14:44:13 2012	(r244738)
@@ -407,7 +407,7 @@ print_group(struct group * grp, int pret
 		char           *buf = NULL;
 
 		buf = gr_make(grp);
-		fputs(buf, stdout);
+		printf("%s\n", buf);
 		free(buf);
 	} else {
 		int             i;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212271444.qBREiEw9097372>