mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-03 20:21:47 +00:00
util: Fix 'calss' type in the virtio-ports scanning code
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user