summaryrefslogtreecommitdiffstats
path: root/cache.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-10-10 17:46:23 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-10-10 17:46:23 -0400
commit29316ceffd485e650e198f443c5f622616e664a1 (patch)
tree956b3c53eaef855f690d5758e54419dded4a1c7b /cache.cxx
parent419463c9aaea3fc2860736eff0e245ae1ea64944 (diff)
downloadsystemtap-steved-29316ceffd485e650e198f443c5f622616e664a1.tar.gz
systemtap-steved-29316ceffd485e650e198f443c5f622616e664a1.tar.xz
systemtap-steved-29316ceffd485e650e198f443c5f622616e664a1.zip
build fix for invalid glob (..., NULL, ...) call, as remarked upon by gcc 4.1.2
Diffstat (limited to 'cache.cxx')
-rw-r--r--cache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.cxx b/cache.cxx
index 6ace0eb0..19334114 100644
--- a/cache.cxx
+++ b/cache.cxx
@@ -178,7 +178,7 @@ clean_cache(systemtap_session& s)
//glob for all kernel modules in the cache dir
glob_t cache_glob;
string glob_str = s.cache_path + "/*/*.ko";
- glob(glob_str.c_str(), NULL, NULL, &cache_glob);
+ glob(glob_str.c_str(), 0, NULL, &cache_glob);
set<struct cache_ent_info, struct weight_sorter> cache_contents;