mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
rbutil: fix compiling on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25833 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ab0a0bf0ad
commit
8e2ebc1068
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ bool BootloaderInstallIpod::ipodInitialize(struct ipod_t *ipod)
|
|||
return false;
|
||||
}
|
||||
#if defined(Q_OS_WIN32)
|
||||
sprintf(ipod->diskname, "\\\\.\\PhysicalDrive%i", diskname.toInt());
|
||||
sprintf(ipod->diskname, "\\\\.\\PhysicalDrive%i", devicename.toInt());
|
||||
#elif defined(Q_OS_MACX)
|
||||
sprintf(ipod->diskname, "%s",
|
||||
qPrintable(devicename.remove(QRegExp("s[0-9]+$"))));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue