summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbutil/autodetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/autodetection.cpp b/rbutil/autodetection.cpp
index 53469ff91b..52c7c0c480 100644
--- a/rbutil/autodetection.cpp
+++ b/rbutil/autodetection.cpp
@@ -68,7 +68,7 @@ bool sansapatcherDetect(UsbDeviceInfo* tempdevice)
tempdevice->status = DEVICEFOUND;
/* find mount point if possible */
#if !(defined( __WXMSW__ ) || defined( __DARWIN__)) //linux code
- wxString tmp = resolve_mount_point(wxString(ipod.diskname,wxConvUTF8)+wxT("1"));
+ wxString tmp = resolve_mount_point(wxString(sansa.diskname,wxConvUTF8)+wxT("1"));
if( tmp != wxT("") )
tempdevice->path = tmp;
#endif