diff options
Diffstat (limited to 'arch/um/drivers/net_user.c')
-rw-r--r-- | arch/um/drivers/net_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/net_user.c b/arch/um/drivers/net_user.c index 3503cff867c3..2dc57a37e4b7 100644 --- a/arch/um/drivers/net_user.c +++ b/arch/um/drivers/net_user.c | |||
@@ -63,7 +63,7 @@ void read_output(int fd, char *output, int len) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | *output = '\0'; | 65 | *output = '\0'; |
66 | ret = os_read_file(fd, &remain, sizeof(remain)); | 66 | ret = os_read_file_k(fd, &remain, sizeof(remain)); |
67 | 67 | ||
68 | if (ret != sizeof(remain)) { | 68 | if (ret != sizeof(remain)) { |
69 | expected = sizeof(remain); | 69 | expected = sizeof(remain); |