Fix build

(cherry picked from commit 677d6c22ba)
This commit is contained in:
Martin 2020-11-08 23:41:34 +01:00
parent f68bb99569
commit d4fc0075bf

View File

@ -53,7 +53,7 @@ namespace
bool isDevice(const std::string& path)
{
struct stat stbuf;
if (stat(path.c_str(), stbuf) == 0)
if (stat(path.c_str(), &stbuf) == 0)
{
if (S_ISBLK(stbuf.st_mode))
{