aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <[email protected]>2005-09-22 21:44:22 -0700
committerLinus Torvalds <[email protected]>2005-09-22 22:17:37 -0700
commitfac97ae0b1a206e2952baf1f9eb46305d673adc6 (patch)
treed44e4d9d414c4fbef057e4991dbb60a4c31baa5d /scripts/basic/split-include.c
parent79ae2cb856ed6a8c48f455d52d5ed5960c671e67 (diff)
[PATCH] uml: replace printk with "stack-friendly" printf - to report console failure
User get *a lot* confused when consoles don't work but we don't report anything. And, as reported in the comment, using printk to report "your console doesn't work" isn't likely to go that far. Fix the problem on the base of this: stack consumption by host printf(). Use kernel sprintf() and os_write_file, using a wild guess that one page will be enough for the message, to preallocate the buffer with kmalloc(). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]> Cc: Jeff Dike <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions