mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
perf build-id: Fix coding style, replace 8 spaces by tabs
Use tabs instead of 8 spaces for the indentation. Signed-off-by: Martin Liška <mliska@suse.cz> Link: http://lore.kernel.org/lkml/2983e2e0-6850-ad59-79d8-efe83b22cffe@suse.cz Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
e754dd7e8b
commit
34575ded68
@ -652,17 +652,17 @@ static char *build_id_cache__find_debug(const char *sbuild_id,
|
||||
nsinfo__mountns_exit(&nsc);
|
||||
|
||||
#ifdef HAVE_DEBUGINFOD_SUPPORT
|
||||
if (realname == NULL) {
|
||||
debuginfod_client* c = debuginfod_begin();
|
||||
if (c != NULL) {
|
||||
int fd = debuginfod_find_debuginfo(c,
|
||||
(const unsigned char*)sbuild_id, 0,
|
||||
&realname);
|
||||
if (fd >= 0)
|
||||
close(fd); /* retaining reference by realname */
|
||||
debuginfod_end(c);
|
||||
}
|
||||
}
|
||||
if (realname == NULL) {
|
||||
debuginfod_client* c = debuginfod_begin();
|
||||
if (c != NULL) {
|
||||
int fd = debuginfod_find_debuginfo(c,
|
||||
(const unsigned char*)sbuild_id, 0,
|
||||
&realname);
|
||||
if (fd >= 0)
|
||||
close(fd); /* retaining reference by realname */
|
||||
debuginfod_end(c);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user