This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any later
+ Free Software Foundation; either version 3, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but
{
char *dumpdir_buffer;
dev_t dev = 0;
- struct stat stat;
+ struct stat stat_data;
- if (deref_stat (true, current_stat_info.file_name, &stat))
+ if (deref_stat (true, current_stat_info.file_name, &stat_data))
{
if (errno == ENOENT)
stat_warn (current_stat_info.file_name);
stat_error (current_stat_info.file_name);
}
else
- dev = stat.st_dev;
+ dev = stat_data.st_dev;
dumpdir_buffer = get_directory_contents (current_stat_info.file_name, dev);