From 3c2593b753eb7c7648abf398402b1c89c0dd5cff Mon Sep 17 00:00:00 2001 From: stanley1108 Date: Sun, 28 Aug 2016 15:09:53 +0800 Subject: [PATCH] Fix wrong fopen assert message. --- insert_dylib/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insert_dylib/main.c b/insert_dylib/main.c index 7c1fd78..c0a9573 100644 --- a/insert_dylib/main.c +++ b/insert_dylib/main.c @@ -443,7 +443,7 @@ int main(int argc, const char *argv[]) { FILE *f = fopen(binary_path, "r+"); if(!f) { - printf("Couldn't open file %s\n", argv[1]); + printf("Couldn't open file %s\n", binary_path); exit(1); }