1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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

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