Commit f2f30968 authored by Dima Kogan's avatar Dima Kogan Committed by Arnaldo Carvalho de Melo

perf symbols: Fix type error when reading a build-id

This was benign, but wrong. The build-id should live in a char[], not a char*[]
Signed-off-by: default avatarDima Kogan <dima@secretsauce.net>
Link: http://lkml.kernel.org/r/87si6pfwz4.fsf@secretsauce.netSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent f4efcce3
...@@ -337,7 +337,7 @@ int dso__load_sym(struct dso *dso, struct map *map __maybe_unused, ...@@ -337,7 +337,7 @@ int dso__load_sym(struct dso *dso, struct map *map __maybe_unused,
symbol_filter_t filter __maybe_unused, symbol_filter_t filter __maybe_unused,
int kmodule __maybe_unused) int kmodule __maybe_unused)
{ {
unsigned char *build_id[BUILD_ID_SIZE]; unsigned char build_id[BUILD_ID_SIZE];
int ret; int ret;
ret = fd__is_64_bit(ss->fd); ret = fd__is_64_bit(ss->fd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment