Date: Sun, 2 Aug 1998 23:48:55 +0200 (CEST) From: Stefan Esser <se@dialup124.zpr.uni-koeln.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/7483: missing new-line characters in messages Message-ID: <199808022148.XAA01233@dialup124.zpr.Uni-Koeln.DE>
next in thread | raw e-mail | index | archive | help
>Number: 7483
>Category: bin
>Synopsis: missing new-line characters in messages
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 3 09:50:00 PDT 1998
>Last-Modified:
>Originator: Stefan Esser
>Organization:
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
3.0-current with soft-update aware FSCK
>Description:
There seem to be two messages that were added with soft-updates
support, which need a final "\n". I only observed one line of
mangled output, but I think there is another one which suffers
from the same problem, and thus I provide a patch that covers
both.
>How-To-Repeat:
>Fix:
Index: /usr/src/sbin/fsck/pass5.c
===================================================================
RCS file: /usr/cvs/src/sbin/fsck/pass5.c,v
retrieving revision 1.12
diff -u -2 -r1.12 pass5.c
--- pass5.c 1998/06/28 19:23:02 1.12
+++ pass5.c 1998/07/03 17:20:23
@@ -325,5 +325,5 @@
if (cg_inosused(cg)[i] & (1 << k))
continue;
- pwarn("ALLOCATED INODE %d MARKED FREE",
+ pwarn("ALLOCATED INODE %d MARKED FREE\n",
c * fs->fs_ipg + i * 8 + k);
}
@@ -338,5 +338,5 @@
if (cg_blksfree(newcg)[i] & (1 << k))
continue;
- pwarn("ALLOCATED FRAG %d MARKED FREE",
+ pwarn("ALLOCATED FRAG %d MARKED FREE\n",
c * fs->fs_fpg + i * 8 + k);
}
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808022148.XAA01233>
