diff options
Diffstat (limited to 'elf/pldd.c')
-rw-r--r-- | elf/pldd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/pldd.c b/elf/pldd.c index ef3621c624..29879f7e85 100644 --- a/elf/pldd.c +++ b/elf/pldd.c @@ -274,7 +274,7 @@ get_process_info (int dfd, long int pid) auxv_size += 512; auxv = xrealloc (auxv, auxv_size); - ssize_t n = read (fd, auxv, auxv_size); + ssize_t n = pread (fd, auxv, auxv_size, 0); if (n < 0) goto no_info; if (n < auxv_size) |