From 49fa99cfe6daff2d1f6aff6a6a228563b3b3971b Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 18 Aug 2018 20:59:42 +0200 Subject: adapt few userspace progs to new syscalls --- userspace/cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userspace/cat.c') diff --git a/userspace/cat.c b/userspace/cat.c index 688ebcc..800a14b 100644 --- a/userspace/cat.c +++ b/userspace/cat.c @@ -7,7 +7,7 @@ int main() printf("-- read from stderr byte by byte --\n"); - while(has_data_waiting(2)){ + while(_poll(2)){ fread(&c,1,1,stderr); printf("%c",c); } -- cgit v1.2.3