From 8af0138e5cac1fc32aef96ea5b97b2264992888b Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 12 Jan 2009 16:50:48 +0000 Subject: [PATCH] fix bad trace dir git-svn-id: http://ltt.polymtl.ca/svn@3207 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/ltt/tracefile.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/trunk/lttv/ltt/tracefile.c b/trunk/lttv/ltt/tracefile.c index 752b8117..73472a4e 100644 --- a/trunk/lttv/ltt/tracefile.c +++ b/trunk/lttv/ltt/tracefile.c @@ -369,7 +369,7 @@ static int get_tracefile_name_number(gchar *raw_name, { guint raw_name_len = strlen(raw_name); gchar char_name[PATH_MAX]; - unsigned int i; + int i; int underscore_pos; long int cpu_num; gchar *endptr; @@ -803,8 +803,7 @@ LttTrace *ltt_trace_open(const gchar *pathname) /* Parse each trace metadata_N files : get runtime fac. info */ group = g_datalist_id_get_data(&t->tracefiles, LTT_TRACEFILE_NAME_METADATA); if(group == NULL) { - g_error("Trace %s has no metadata tracefile", abs_path); - g_assert(0); + g_warning("Trace %s has no metadata tracefile", abs_path); goto find_error; } -- 2.34.1