From 5e4226614361095fc6e83f4abc1dca268de8005b Mon Sep 17 00:00:00 2001
From: Raphael Kubo da Costa <rakuco@FreeBSD.org>
Date: Wed, 10 Oct 2012 20:59:36 +0300
Subject: [PATCH 3/9] Backport to 1.3: Unbreak the non-Linux case after
4ffaa9e.
Use the right method name, filePa() does not exist.
(cherry picked from commit 258ae24d6c6be31362b8877c704ddf3f8b253f62)
---
src/util/fileops.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/fileops.cpp b/src/util/fileops.cpp
index 1e5d7d5..329462e 100644
--- a/src/util/fileops.cpp
+++ b/src/util/fileops.cpp
@@ -647,7 +647,7 @@ namespace bt
{
Solid::StorageAccess* sa = dev.as<Solid::StorageAccess>();
if(!sa->filePath().isEmpty() && sa->isAccessible())
- result.insert(sa->filePa());
+ result.insert(sa->filePath());
}
#endif
return result;
--
1.8.0.2