We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a874c8c commit 22e8ebeCopy full SHA for 22e8ebe
tools/bpf/resolve_btfids/main.c
@@ -454,7 +454,7 @@ static int symbols_collect(struct object *obj)
454
return -ENOMEM;
455
456
if (id->addr_cnt >= ADDR_CNT) {
457
- pr_err("FAILED symbol %s crossed the number of allowed lists",
+ pr_err("FAILED symbol %s crossed the number of allowed lists\n",
458
id->name);
459
return -1;
460
}
@@ -477,8 +477,8 @@ static int symbols_resolve(struct object *obj)
477
btf = btf__parse(obj->btf ?: obj->path, NULL);
478
err = libbpf_get_error(btf);
479
if (err) {
480
- pr_err("FAILED: load BTF from %s: %s",
481
- obj->path, strerror(err));
+ pr_err("FAILED: load BTF from %s: %s\n",
+ obj->path, strerror(-err));
482
483
484
0 commit comments