diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-10-10 17:46:23 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-10-10 17:46:23 -0400 |
commit | 29316ceffd485e650e198f443c5f622616e664a1 (patch) | |
tree | 956b3c53eaef855f690d5758e54419dded4a1c7b /cache.cxx | |
parent | 419463c9aaea3fc2860736eff0e245ae1ea64944 (diff) | |
download | systemtap-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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |