summaryrefslogtreecommitdiff
path: root/util/fluxbox-update_configs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fluxbox-update_configs.cc')
-rw-r--r--util/fluxbox-update_configs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 90a40d0..96382da 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -473,7 +473,7 @@ string read_file(const string& filename) {
473 if (it != file_cache.end()) 473 if (it != file_cache.end())
474 return it->second; 474 return it->second;
475 475
476 stat s; 476 struct stat s;
477 stat(filename.c_str(), &s); 477 stat(filename.c_str(), &s);
478 478
479 if (! (s.st_mode & S_IFREG)) 479 if (! (s.st_mode & S_IFREG))