From ffd28a721c676edcf490bf85e48eaeae4ce1a0d1 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 12 Sep 2016 14:47:37 +0100 Subject: [PATCH] container: Fix error message in hyper_rescan_scsi() The message needs to mention scanning scsi, not virtio-ports. Signed-off-by: Damien Lespiau --- src/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/container.c b/src/container.c index f8c20f5..b950e8c 100644 --- a/src/container.c +++ b/src/container.c @@ -471,7 +471,7 @@ static int hyper_rescan_scsi(void) num = scandir("/sys/class/scsi_host/", &list, NULL, NULL); if (num < 0) { - perror("scan /sys/calss/virtio-ports/ failed"); + perror("scan /sys/class/scsi_host/ failed"); return -1; }