* [uml-devel] [PATCH] mconsole log doesn't work correctly
@ 2004-01-30 20:44 Sven 'Darkman' Michels
2004-02-13 20:57 ` [uml-devel] Re: [uml-user] " Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Sven 'Darkman' Michels @ 2004-01-30 20:44 UTC (permalink / raw)
To: UML devel list; +Cc: user-mode-linux-user
[-- 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);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [uml-devel] Re: [uml-user] [PATCH] mconsole log doesn't work correctly
2004-01-30 20:44 [uml-devel] [PATCH] mconsole log doesn't work correctly Sven 'Darkman' Michels
@ 2004-02-13 20:57 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2004-02-13 20:57 UTC (permalink / raw)
To: Sven 'Darkman' Michels; +Cc: UML devel list, user-mode-linux-user
sven@darkman.de said:
> 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).
Fixed, in a slightly different way, thanks. This will require the next
version of uml_mconsole as well, since I mostly fixed it there.
Jeff
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-13 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-30 20:44 [uml-devel] [PATCH] mconsole log doesn't work correctly Sven 'Darkman' Michels
2004-02-13 20:57 ` [uml-devel] Re: [uml-user] " Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.