Date: Mon, 30 Sep 2002 05:14:35 +0900 (JST) From: n-kogane@syd.odn.ne.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/43483: installation: missing '\n' (newline) in debug messeages. Message-ID: <200209292014.FAA00916@kces1.koganemaru.co.jp>
next in thread | raw e-mail | index | archive | help
>Number: 43483
>Category: misc
>Synopsis: installation: missing '\n' (newline) in debug messeages.
>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: Sun Sep 29 13:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Nobuyuki Koganemaru
>Release: FreeBSD 4.7-RC i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
System: FreeBSD kcesx20.koganemaru.co.jp 4.7-RC FreeBSD 4.7-RC #2: Sun Sep 22 23:57:58 JST 2002 root@kcesx20.koganemaru.co.jp:/usr/obj/usr/src.stable/sys/GENERIC i386
>Description:
at installation,
missing '\n' (newline) in debug messeages.
>How-To-Repeat:
select network installation, and see debug messeage in ALT&F2 console.
>Fix:
--- src/release/sysinstall/network.c.orig Thu Jul 19 10:33:02 2001
+++ src/release/sysinstall/network.c Mon Sep 30 04:53:32 2002
@@ -127,7 +127,7 @@
cp = variable_get(ifconfig);
if (cp) {
if (strcmp(cp, "DHCP")) {
- msgDebug("ifconfig %s %s", dev->name, cp);
+ msgDebug("ifconfig %s %s\n", dev->name, cp);
i = vsystem("ifconfig %s %s", dev->name, cp);
if (i) {
msgConfirm("Unable to configure the %s interface!\n"
@@ -141,7 +141,7 @@
"not on your local network");
}
else {
- msgDebug("Adding default route to %s.", rp);
+ msgDebug("Adding default route to %s.\n", rp);
vsystem("route -n add default %s", rp);
}
}
@@ -175,13 +175,13 @@
cp = variable_get(ifconfig);
if (!cp)
return;
- msgDebug("ifconfig %s down", dev->name);
+ msgDebug("ifconfig %s down\n", dev->name);
i = vsystem("ifconfig %s down", dev->name);
if (i)
msgConfirm("Warning: Unable to down the %s interface properly", dev->name);
cp = variable_get(VAR_GATEWAY);
if (cp) {
- msgDebug("Deleting default route.");
+ msgDebug("Deleting default route.\n");
vsystem("route -n delete default");
}
}
>Release-Note:
>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?200209292014.FAA00916>
