diff options
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ extern TAILQ_HEAD(drivelist, DriveInfo) drives; extern TAILQ_HEAD(driveoptlist, DriveOpt) driveopts; extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit); -extern DriveInfo *drive_get_by_id(char *id); +extern DriveInfo *drive_get_by_id(const char *id); extern int drive_get_max_bus(BlockInterfaceType type); extern void drive_uninit(BlockDriverState *bdrv); extern const char *drive_get_serial(BlockDriverState *bdrv); |