diff options
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index 084022bf..0140c69f 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -629,7 +629,7 @@ make_typequery(systemtap_session& s, string& module) int rc; string new_module; vector<string> headers; - bool kernel = (module.compare(0, 6, "kernel") == 0); + bool kernel = startswith(module, "kernel"); for (size_t end, i = kernel ? 6 : 0; i < module.size(); i = end + 1) { |