diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ static void do_commit(Monitor *mon, const char *device) all_devices = !strcmp(device, "all"); TAILQ_FOREACH(dinfo, &drives, next) { if (!all_devices) - if (!strcmp(bdrv_get_device_name(dinfo->bdrv), device)) + if (strcmp(bdrv_get_device_name(dinfo->bdrv), device)) continue; bdrv_commit(dinfo->bdrv); } |