about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-31 14:23:01 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-31 14:23:01 -0400
commit8c29731192565b9c917d6b97db78dcd302283df8 (patch)
treed1b80d6ab7e90c371d516b9f58efdbcfeca5e2c2 /sysdeps
parentc8fc0c91695b1c7003c7170861274161f9224817 (diff)
downloadglibc-8c29731192565b9c917d6b97db78dcd302283df8.tar.gz
glibc-8c29731192565b9c917d6b97db78dcd302283df8.tar.xz
glibc-8c29731192565b9c917d6b97db78dcd302283df8.zip
Fix typo in stack guard setup code for old kernels
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index eb7fedc077..28fce4f8e7 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -81,7 +81,7 @@ _dl_setup_stack_chk_guard (void *dl_random)
 	{
 	  ssize_t reslen = read_not_cancel (fd, ret.bytes + 1, filllen);
 	  close_not_cancel_no_status (fd);
-	  if (reslen == (ssize_) filllen)
+	  if (reslen == (ssize_t) filllen)
 	    return ret.num;
 	}
 # endif