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 80716d9..1612d71 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c @@ -149,9 +149,9 @@ int readprofile_main(int argc, char **argv) /* * Use an fd for the profiling buffer, to skip stdio overhead */ - + proFd = bb_xopen(proFile,O_RDONLY); - + if (((int)(len=lseek(proFd,0,SEEK_END)) < 0) || (lseek(proFd,0,SEEK_SET) < 0)) bb_perror_msg_and_die(proFile); |