projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add tracecontrol
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
facility.c
diff --git
a/ltt/branches/poly/ltt/facility.c
b/ltt/branches/poly/ltt/facility.c
index 5b2c8ba4f2c76188427f47884fa192bc54dd1499..f4c0acae6c939f6f488a31cbc6c9fd40d908c1fd 100644
(file)
--- a/
ltt/branches/poly/ltt/facility.c
+++ b/
ltt/branches/poly/ltt/facility.c
@@
-135,6
+135,7
@@
int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * pathname)
freeTypes(&fac->unnamed_types);
sequence_dispose(&fac->unnamed_types);
g_free(fac);
freeTypes(&fac->unnamed_types);
sequence_dispose(&fac->unnamed_types);
g_free(fac);
+ if(generated) break; /* use the first good match */
}
else {
g_warning("facility token was expected in file %s", in.name);
}
else {
g_warning("facility token was expected in file %s", in.name);
@@
-147,8
+148,11
@@
int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * pathname)
fclose(in.fp);
open_error:
fclose(in.fp);
open_error:
- if(!generated)
- g_warning("Cannot find facility %s, checksum 0x%X", f->name, f->checksum);
+ if(!generated) {
+ g_warning("Cannot find facility %s, checksum 0x%X",
+ g_quark_to_string(f->name), f->checksum);
+ ret = 1;
+ }
return ret;
}
return ret;
}
This page took
0.02213 seconds
and
4
git commands to generate.