From 136f3786de36ccf8a1664bbbe31f2bf4a6ae920d Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Fri, 5 Jan 2007 16:58:58 -0200 Subject: [PATCH] [CTRACER]: Fix the case where kprobes_filename is not set in the cmdline Signed-off-by: Arnaldo Carvalho de Melo --- ctracer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctracer.c b/ctracer.c index a97d54a..938a1ee 100644 --- a/ctracer.c +++ b/ctracer.c @@ -302,7 +302,7 @@ int main(int argc, char *argv[]) { int option, option_index, recursive = 0; const char *filename = NULL, *dirname = NULL, *glob = NULL, - *kprobes_filename; + *kprobes_filename = NULL; char *class_name = NULL; while ((option = getopt_long(argc, argv, "D:g:k:rh",