X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Ftext%2Fdmesg%2Fdmesg.c;h=199dbf925db862fac3288dcc4e10cb0e8905ce8f;hp=50ceb7e64454d87833bd46cb8034a0f1eb370e72;hb=2c62a90ddcc5d63c6bf0f080e5676bc4eed36655;hpb=6559432e3ac12aff7a0f729d3982ed6a779d2c3e diff --git a/src/plugins/text/dmesg/dmesg.c b/src/plugins/text/dmesg/dmesg.c index 50ceb7e6..199dbf92 100644 --- a/src/plugins/text/dmesg/dmesg.c +++ b/src/plugins/text/dmesg/dmesg.c @@ -773,7 +773,7 @@ bt_message_iterator_class_next_method_status dmesg_msg_iter_next_one( /* Ignore empty lines, once trimmed */ for (ch = dmesg_msg_iter->linebuf; *ch != '\0'; ch++) { - if (!isspace(*ch)) { + if (!isspace((unsigned char) *ch)) { only_spaces = false; break; }