diff options
Diffstat (limited to 'devices.c')
-rw-r--r-- | devices.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -121,6 +121,11 @@ void devices_parse_info_block(struct qemu_window *win, char *str) ptr = strchr(file, ' '); if (ptr) *ptr = 0; +#if 1 /* basename */ + ptr = strrchr(file, '/'); + if (ptr) + file = ptr+1; +#endif eject = 1; } else { file = "<empty>"; |