mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
hdd_menu: avoid compiler warning
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: a94d9ea8f8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-09-28 (Sat, 28 Sep 2013)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
018bb3b50c
commit
a03bb10510
@@ -183,7 +183,8 @@ int CHDDMenuHandler::doMenu ()
|
||||
if (ret != -1) {
|
||||
if ((int)(s.st_rdev & 0x0ffc0) == root_dev) {
|
||||
isroot = true;
|
||||
printf("-> root device is on this disk, skipping\n");
|
||||
/* 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);
|
||||
|
Reference in New Issue
Block a user