Guillaume Chazarain cd140a5c1f [PATCH] kmsg_write: don't return printk return value
kmsg_write returns with printk, so some programs may be confused by a
successful write() with a return value different than the buffer length.

# /bin/echo something > /dev/kmsg
/bin/echo: write error: Inappropriate ioctl for device

The drawbacks is that the printk return value can no more be quickly
checked from userspace.

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:53 -08:00
..
2006-01-08 20:13:46 -08:00
2006-01-08 20:13:46 -08:00
2006-01-08 20:13:46 -08:00
2006-01-08 20:13:45 -08:00
2006-01-08 20:13:46 -08:00
2006-01-08 20:13:45 -08:00
2006-01-08 20:13:45 -08:00
2006-01-08 20:13:45 -08:00