From 8c29731192565b9c917d6b97db78dcd302283df8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 31 May 2011 14:23:01 -0400 Subject: Fix typo in stack guard setup code for old kernels --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/dl-osinfo.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eee3d1b..2aca74a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix + typo. + 2011-05-31 Andreas Schwab * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h index eb7fedc..28fce4f 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 -- cgit v1.1