From owner-freebsd-bugs Mon Aug 3 09:50:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA23200 for freebsd-bugs-outgoing; Mon, 3 Aug 1998 09:50:23 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA23132 for ; Mon, 3 Aug 1998 09:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA00669; Mon, 3 Aug 1998 09:50:01 -0700 (PDT) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22693 for ; Mon, 3 Aug 1998 09:46:41 -0700 (PDT) (envelope-from se@dialup124.zpr.uni-koeln.de) Received: from dialup124.zpr.Uni-Koeln.DE (dialup124.zpr.Uni-Koeln.DE [134.95.219.124]) by Octopussy.MI.Uni-Koeln.DE (8.8.8/8.8.8) with ESMTP id SAA06894 for ; Mon, 3 Aug 1998 18:46:24 +0200 (MET DST) Received: (from se@localhost) by dialup124.zpr.Uni-Koeln.DE (8.8.8/8.6.9) id XAA01233; Sun, 2 Aug 1998 23:48:55 +0200 (CEST) Message-Id: <199808022148.XAA01233@dialup124.zpr.Uni-Koeln.DE> Date: Sun, 2 Aug 1998 23:48:55 +0200 (CEST) From: Stefan Esser Reply-To: se@dialup124.zpr.uni-koeln.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7483: missing new-line characters in messages Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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