From 532606160a2376d8ad60f0098ed6f7436c3ae8ab Mon Sep 17 00:00:00 2001 From: Maijin Date: Sat, 10 Sep 2016 11:36:07 +0200 Subject: [PATCH] Fix (null) in afna Fix (null) in afna --- libr/core/anal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libr/core/anal.c b/libr/core/anal.c index 9380d0eae5..19f8c0f830 100644 --- a/libr/core/anal.c +++ b/libr/core/anal.c @@ -271,9 +271,9 @@ R_API char *r_core_anal_fcn_autoname(RCore *core, ut64 addr, int dump) { if (blacklisted_word (f->name)) { break; } - if (strstr (f->name, "isatty")) + if (strstr (f->name, ".isatty")) use_isatty = 1; - if (strstr (f->name, "getopt")) + if (strstr (f->name, ".getopt")) use_getopt = 1; if (!strncmp (f->name, "sym.imp.", 8)) { free (do_call);