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 e25d07d2b..cac5fa4a1 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c | |||
@@ -109,9 +109,9 @@ int readprofile_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
109 | * Use an fd for the profiling buffer, to skip stdio overhead | 109 | * Use an fd for the profiling buffer, to skip stdio overhead |
110 | */ | 110 | */ |
111 | len = MAXINT(ssize_t); | 111 | len = MAXINT(ssize_t); |
112 | buf = xmalloc_open_read_close(proFile, &len); | 112 | buf = xmalloc_xopen_read_close(proFile, &len); |
113 | if (!optNative) { | 113 | if (!optNative) { |
114 | int entries = len/sizeof(*buf); | 114 | int entries = len / sizeof(*buf); |
115 | int big = 0, small = 0, i; | 115 | int big = 0, small = 0, i; |
116 | unsigned *p; | 116 | unsigned *p; |
117 | 117 | ||