diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:03 -0400 |
commit | fda83a99b2b49016b9d7ed562745969db25c4ef9 (patch) | |
tree | 45b6282e98841b8d608523a1df57d4a4c51c6965 /arch/um/sys-i386 | |
parent | 77f6af778dc23514d897f4fdc7935329285ecb1b (diff) |
uml: change remaining callers of os_{read_write}_file
Convert all remaining os_{read_write}_file users to use the simple
{read,write} wrappers, os_{read_write}_file_k.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/sys-i386')
-rw-r--r-- | arch/um/sys-i386/bugs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/sys-i386/bugs.c b/arch/um/sys-i386/bugs.c index 74fd062b201b..f5dfe49c8442 100644 --- a/arch/um/sys-i386/bugs.c +++ b/arch/um/sys-i386/bugs.c | |||
@@ -28,7 +28,7 @@ static char token(int fd, char *buf, int len, char stop) | |||
28 | ptr = buf; | 28 | ptr = buf; |
29 | end = &buf[len]; | 29 | end = &buf[len]; |
30 | do { | 30 | do { |
31 | n = os_read_file(fd, ptr, sizeof(*ptr)); | 31 | n = os_read_file_k(fd, ptr, sizeof(*ptr)); |
32 | c = *ptr++; | 32 | c = *ptr++; |
33 | if(n != sizeof(*ptr)){ | 33 | if(n != sizeof(*ptr)){ |
34 | if(n == 0) | 34 | if(n == 0) |