projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix loglevel value enable: use isdigit rather than isalpha
[lttng-ust.git]
/
liblttng-ust
/
ltt-probes.c
diff --git
a/liblttng-ust/ltt-probes.c
b/liblttng-ust/ltt-probes.c
index 090126e4e1c13d45dc70f14392535a8a066b79af..b683b81bb24107a769cbdfe3eaeedb0be1ac85c7 100644
(file)
--- a/
liblttng-ust/ltt-probes.c
+++ b/
liblttng-ust/ltt-probes.c
@@
-264,7
+264,7
@@
void _probes_create_loglevel_events(struct loglevel_entry *entry,
if (!(event_desc->loglevel))
continue;
ev_ll = *event_desc->loglevel;
- if (is
alpha
(entry->name[0])) {
+ if (is
digit
(entry->name[0])) {
if (atoll(entry->name) == ev_ll->value) {
match = 1;
}
This page took
0.023842 seconds
and
4
git commands to generate.