Fix typo in stack guard setup code for old kernels

This commit is contained in:
Ulrich Drepper 2011-05-31 14:23:01 -04:00
parent c8fc0c9169
commit 8c29731192
2 changed files with 6 additions and 1 deletions

View file

@ -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

View 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