svn commit: r242511 - head/sbin/fsck_msdosfs

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Nov 4 12:48:00 UTC 2012


On Sat, Nov 03, 2012 at 09:18:38AM +0000, Jaakko Heinonen wrote:
> Author: jh
> Date: Sat Nov  3 09:18:37 2012
> New Revision: 242511
> URL: http://svn.freebsd.org/changeset/base/242511
> 
> Log:
>   Print a newline after the error message.
>   
>   PR:		bin/168447
>   Submitted by:	Boris Kochergin
> 
> Modified:
>   head/sbin/fsck_msdosfs/check.c
> 
> Modified: head/sbin/fsck_msdosfs/check.c
> ==============================================================================
> --- head/sbin/fsck_msdosfs/check.c	Sat Nov  3 04:56:08 2012	(r242510)
> +++ head/sbin/fsck_msdosfs/check.c	Sat Nov  3 09:18:37 2012	(r242511)
> @@ -68,6 +68,7 @@ checkfilesys(const char *fname)
>  
>  	if (dosfs < 0) {
>  		perr("Can't open `%s'", fname);
> +		printf("\n");

Why not just add \n to perr()? Doesn't perr() print at stderr, not
stdout?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121104/14bd54a3/attachment.sig>


More information about the svn-src-head mailing list