about summary refs log tree commit diff
path: root/debug/read_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/read_chk.c')
-rw-r--r--debug/read_chk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/read_chk.c b/debug/read_chk.c
index f738c48d6b..da2bc945b7 100644
--- a/debug/read_chk.c
+++ b/debug/read_chk.c
@@ -31,8 +31,8 @@ __read_chk (int fd, void *buf, size_t nbytes, size_t buflen)
     __chk_fail ();
 
 #ifdef HAVE_INLINED_SYSCALLS
-  return = INLINE_SYSCALL (read, 3, fd, buf, nbytes);
+  return INLINE_SYSCALL (read, 3, fd, buf, nbytes);
 #else
-  return = __read (fd, buf, nbytes);
+  return __read (fd, buf, nbytes);
 #endif
 }