Fix typo in stack guard setup code for old kernels
authorUlrich Drepper <drepper@gmail.com>
Tue, 31 May 2011 18:23:01 +0000 (14:23 -0400)
committerUlrich Drepper <drepper@gmail.com>
Tue, 31 May 2011 18:23:01 +0000 (14:23 -0400)
ChangeLog
sysdeps/unix/sysv/linux/dl-osinfo.h

index eee3d1b..2aca74a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-31  Ulrich Drepper  <drepper@gmail.com>
+
+       * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
+       typo.
+
 2011-05-31  Andreas Schwab  <schwab@redhat.com>
 
        * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
index eb7fedc..28fce4f 100644 (file)
@@ -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