diff options
Diffstat (limited to 'libctf/ctf-lookup.c')
-rw-r--r-- | libctf/ctf-lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libctf/ctf-lookup.c b/libctf/ctf-lookup.c index 1b1ebed..e4d18be 100644 --- a/libctf/ctf-lookup.c +++ b/libctf/ctf-lookup.c @@ -665,8 +665,8 @@ ctf_lookup_symbol_idx (ctf_dict_t *fp, const char *symname, int try_parent, } oom: ctf_set_errno (fp, ENOMEM); - ctf_err_warn (fp, 0, ENOMEM, _("cannot allocate memory for symbol " - "lookup hashtab")); + ctf_err_warn (fp, 0, 0, _("cannot allocate memory for symbol " + "lookup hashtab")); return (unsigned long) -1; } |