aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/initrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/initrd.c')
-rw-r--r--arch/um/kernel/initrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/initrd.c b/arch/um/kernel/initrd.c
index 6ab1539108e1..bf3dd9659865 100644
--- a/arch/um/kernel/initrd.c
+++ b/arch/um/kernel/initrd.c
@@ -55,7 +55,7 @@ int load_initrd(char *filename, void *buf, int size)
55 printk("Opening '%s' failed - err = %d\n", filename, -fd); 55 printk("Opening '%s' failed - err = %d\n", filename, -fd);
56 return(-1); 56 return(-1);
57 } 57 }
58 n = os_read_file(fd, buf, size); 58 n = os_read_file_k(fd, buf, size);
59 if(n != size){ 59 if(n != size){
60 printk("Read of %d bytes from '%s' failed, err = %d\n", size, 60 printk("Read of %d bytes from '%s' failed, err = %d\n", size,
61 filename, -n); 61 filename, -n);