fix bad trace dir
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 12 Jan 2009 16:50:48 +0000 (16:50 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 12 Jan 2009 16:50:48 +0000 (16:50 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3207 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/ltt/tracefile.c

index 752b811786aa39d04fccf01f841df17b10b5d433..73472a4e5a3cbcb4c957153198e2cef4752a8091 100644 (file)
@@ -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;
   }
 
This page took 0.024567 seconds and 4 git commands to generate.