about summary refs log tree commit diff
path: root/nptl/pt-fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pt-fcntl.c')
-rw-r--r--nptl/pt-fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pt-fcntl.c b/nptl/pt-fcntl.c
index 9d7f68e4c1..5b55f0b920 100644
--- a/nptl/pt-fcntl.c
+++ b/nptl/pt-fcntl.c
@@ -29,7 +29,7 @@
 int
 __fcntl (int fd, int cmd, ...)
 {
-  int oldtype;
+  int oldtype = 0;
   va_list ap;
 
   if (cmd == F_SETLKW)