hdd_menu: avoid compiler warning

Origin commit data
------------------
Commit: a6b41ccc72
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-09-28 (Sat, 28 Sep 2013)
This commit is contained in:
Stefan Seyfried
2013-09-28 13:40:41 +02:00
parent 14d73c9280
commit d1263ce34d

View File

@@ -191,7 +191,8 @@ int CHDDMenuHandler::doMenu ()
if (ret != -1) {
if ((int)(s.st_rdev & drive_mask) == root_dev) {
isroot = true;
printf("-> root device is on this disk 0x%04" PRIx64 ", skipping\n", s.st_rdev);
/* dev_t is different sized on different architectures :-( */
printf("-> root device is on this disk 0x%04x, skipping\n", (int)s.st_rdev);
}
}
close(fd);