diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2009-11-27 21:48:08 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2009-11-27 21:48:08 +1100 |
commit | d61381a70a57a01b87afee90c976675f047d447d (patch) | |
tree | 1064a3dd0f1cb014306760a24c434548e8dc91dd /purgatory | |
parent | 5545216da4360d6494cc7ba574e04620a826a332 (diff) |
kexec.c: workaround getline and fscanf to make it *libc agnostic. Tested against klibc and dietlibc.
Based on a patch by Andrea Adami and Yuri Bushmelev
I have:
* Cleaned up indentation
* Rearranged the logic in get_command_line()
* Increased the buffer for reading the command line
from 1024 to 2048 bytes as this is now possible on x86
Only compile tested against glibc.
Cc: Andrea Adami <andrea.adami@gmail.com>
Cc: Yuri Bushmelev <jay4mail@gmail.com>
Cc: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
0 files changed, 0 insertions, 0 deletions