From 29316ceffd485e650e198f443c5f622616e664a1 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 10 Oct 2008 17:46:23 -0400 Subject: build fix for invalid glob (..., NULL, ...) call, as remarked upon by gcc 4.1.2 --- cache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cache.cxx') 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 cache_contents; -- cgit