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

Attachment: pgpn5yOl6YVzc.pgp
Description: PGP signature

Reply via email to