From: "Sven 'Darkman' Michels" <sven@darkman.de>
To: UML devel list <user-mode-linux-devel@lists.sourceforge.net>
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: [uml-devel] [PATCH] mconsole log doesn't work correctly
Date: Fri, 30 Jan 2004 21:44:49 +0100 [thread overview]
Message-ID: <401AC241.1080205@darkman.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
Hi there,
a small patch for the mconsole_log function:
just add an \n at the end of every line cause otherwise sys/klogd
won't notice the line (at least not immedially).
Regards,
Sven
[-- Attachment #2: mconsole_log.patch --]
[-- Type: text/plain, Size: 434 bytes --]
--- linux-2.4.24-2.4.23-2um/arch/um/drivers/mconsole_kern.c 2004-01-25 12:34:58.000000000 +0100
+++ linux-2.4.24-2.4.23-2um-latest/arch/um/drivers/mconsole_kern.c 2004-01-30 21:07:42.000000000 +0100
@@ -116,7 +116,7 @@ void mconsole_log(struct mc_request *req
while(isspace(*ptr)) ptr++;
len = req->len - (ptr - req->request.data);
- printk("%.*s", len, ptr);
+ printk("%.*s\n", len, ptr);
mconsole_reply(req, "", 0, 0);
}
next reply other threads:[~2004-01-30 20:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-30 20:44 Sven 'Darkman' Michels [this message]
2004-02-13 20:57 ` [uml-devel] Re: [uml-user] [PATCH] mconsole log doesn't work correctly Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=401AC241.1080205@darkman.de \
--to=sven@darkman.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=user-mode-linux-user@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox