Fix typo in stack guard setup code for old kernels
This commit is contained in:
parent
c8fc0c9169
commit
8c29731192
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user