diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/sotruss-lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/sotruss-lib.c b/elf/sotruss-lib.c index 934ae52854..f69d23894b 100644 --- a/elf/sotruss-lib.c +++ b/elf/sotruss-lib.c @@ -89,7 +89,7 @@ init (void) if (which_process == NULL || which_process[0] == '\0') snprintf (endp, 13, ".%ld", (long int) pid); - out_fd = open (fullname, O_RDWR | O_CREAT | O_TRUNC, 0666); + out_fd = open64 (fullname, O_RDWR | O_CREAT | O_TRUNC, 0666); if (out_fd != -1) print_pid = 0; } @@ -102,7 +102,7 @@ init (void) program. */ if (out_fd == -1) { - out_fd = fcntl (STDERR_FILENO, F_DUPFD, 1000); + out_fd = fcntl64 (STDERR_FILENO, F_DUPFD, 1000); if (out_fd == -1) out_fd = dup (STDERR_FILENO); } |