From 6824ff3d2ef53725f49c2dc54757c3e1f458ad2b Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 12 Sep 2016 14:56:41 +0100 Subject: [PATCH] util: Fix 'calss' type in the virtio-ports scanning code Signed-off-by: Damien Lespiau --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index d28b817..df04e3d 100644 --- a/src/util.c +++ b/src/util.c @@ -512,7 +512,7 @@ int hyper_open_channel(char *channel, int mode) num = scandir("/sys/class/virtio-ports/", &list, NULL, NULL); if (num < 0) { - perror("scan /sys/calss/virtio-ports/ failed"); + perror("scan /sys/class/virtio-ports/ failed"); return -1; }