summaryrefslogtreecommitdiff
path: root/tools/virtio
diff options
context:
space:
mode:
authorRong Tao <rtoax@foxmail.com>2023-03-09 14:13:20 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-04-21 03:02:30 -0400
commit9b2b3de63c07123c0ec9b912d7b8e77b150e520b (patch)
treeb5b797b345725e48522d128497d711fd6981e473 /tools/virtio
parent48cd6bc5b22d68b8bbc8601f3c7ddeed99541a0b (diff)
tools/virtio: virtio_test: Fix indentation
Replace eight spaces with Tab. Signed-off-by: Rong Tao <rtoax@foxmail.com> Message-Id: <tencent_89579C514BC4020324A1A4ACA44B5B95BB07@qq.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio')
-rw-r--r--tools/virtio/virtio_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c
index 120062f94590..280c6f8ee297 100644
--- a/tools/virtio/virtio_test.c
+++ b/tools/virtio/virtio_test.c
@@ -134,7 +134,7 @@ static void vdev_info_init(struct vdev_info* dev, unsigned long long features)
dev->buf_size = 1024;
dev->buf = malloc(dev->buf_size);
assert(dev->buf);
- dev->control = open("/dev/vhost-test", O_RDWR);
+ dev->control = open("/dev/vhost-test", O_RDWR);
assert(dev->control >= 0);
r = ioctl(dev->control, VHOST_SET_OWNER, NULL);
assert(r >= 0);