From 9db670f07a8fc5db98c7faa2bbe56d5040058234 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 1 Mar 2005 01:45:27 +0000 Subject: * csu/Makefile: Use printf instead of echo for some shells. --- debug/pread64_chk.c | 2 +- debug/pread_chk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debug') diff --git a/debug/pread64_chk.c b/debug/pread64_chk.c index daea1d7091..93e5151ddc 100644 --- a/debug/pread64_chk.c +++ b/debug/pread64_chk.c @@ -26,5 +26,5 @@ __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen) if (nbytes > buflen) __chk_fail (); - return __pread64 (fd, buf, offset, MIN (nbytes, buflen + 1)); + return __pread64 (fd, buf, offset, nbytes); } diff --git a/debug/pread_chk.c b/debug/pread_chk.c index 483b5d03ca..24c13103dd 100644 --- a/debug/pread_chk.c +++ b/debug/pread_chk.c @@ -26,5 +26,5 @@ __pread_chk (int fd, void *buf, size_t nbytes, off_t offset, size_t buflen) if (nbytes > buflen) __chk_fail (); - return __pread (fd, buf, offset, MIN (nbytes, buflen + 1)); + return __pread (fd, buf, offset, nbytes); } -- cgit v1.2.3