aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/es_ftw/es_ftw.cpp2
-rw-r--r--modules/es_unix/es_unix.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/es_ftw/es_ftw.cpp b/modules/es_ftw/es_ftw.cpp
index 63531eb53..cbee7396d 100644
--- a/modules/es_ftw/es_ftw.cpp
+++ b/modules/es_ftw/es_ftw.cpp
@@ -71,7 +71,7 @@ void FTW_EntropySource::gather_from_dir(const std::string& dirname)
const std::string filename = dirname + '/' + entry->d_name;
- struct ::stat stat_buf;
+ struct stat stat_buf;
if(::lstat(filename.c_str(), &stat_buf) == -1)
{ entry = ::readdir(dir); continue; }
diff --git a/modules/es_unix/es_unix.cpp b/modules/es_unix/es_unix.cpp
index 40be78e22..f1302cb61 100644
--- a/modules/es_unix/es_unix.cpp
+++ b/modules/es_unix/es_unix.cpp
@@ -51,7 +51,7 @@ void Unix_EntropySource::do_fast_poll()
for(u32bit j = 0; STAT_TARGETS[j]; j++)
{
- struct ::stat statbuf;
+ struct stat statbuf;
clear_mem(&statbuf, 1);
::stat(STAT_TARGETS[j], &statbuf);
add_bytes(&statbuf, sizeof(statbuf));