aboutsummaryrefslogtreecommitdiff
path: root/testcases/kernel/syscalls/fcntl/fcntl11.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/kernel/syscalls/fcntl/fcntl11.c')
-rw-r--r--testcases/kernel/syscalls/fcntl/fcntl11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testcases/kernel/syscalls/fcntl/fcntl11.c b/testcases/kernel/syscalls/fcntl/fcntl11.c
index b66fa8421..d042c6b9b 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl11.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl11.c
@@ -189,11 +189,11 @@ char *str_type(int type)
static char buf[20];
switch (type) {
- case 0:
+ case F_RDLCK:
return ("F_RDLCK");
- case 1:
+ case F_WRLCK:
return ("F_WRLCK");
- case 2:
+ case F_UNLCK:
return ("F_UNLCK");
default:
sprintf(buf, "BAD VALUE: %d", type);