diff options
Diffstat (limited to 'util-linux/readprofile.c')
-rw-r--r-- | util-linux/readprofile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index 80716d9f0..1612d7147 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c | |||
@@ -149,9 +149,9 @@ int readprofile_main(int argc, char **argv) | |||
149 | /* | 149 | /* |
150 | * Use an fd for the profiling buffer, to skip stdio overhead | 150 | * Use an fd for the profiling buffer, to skip stdio overhead |
151 | */ | 151 | */ |
152 | 152 | ||
153 | proFd = bb_xopen(proFile,O_RDONLY); | 153 | proFd = bb_xopen(proFile,O_RDONLY); |
154 | 154 | ||
155 | if (((int)(len=lseek(proFd,0,SEEK_END)) < 0) | 155 | if (((int)(len=lseek(proFd,0,SEEK_END)) < 0) |
156 | || (lseek(proFd,0,SEEK_SET) < 0)) | 156 | || (lseek(proFd,0,SEEK_SET) < 0)) |
157 | bb_perror_msg_and_die(proFile); | 157 | bb_perror_msg_and_die(proFile); |