diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c index 4aeaed5a8fa471c94fc139a26f6611cb494d9742..620cd5823e28876b3672d48de084a2ac06cfa7ac 100644 --- a/src/node_device/node_device_udev.c +++ b/src/node_device/node_device_udev.c @@ -338,7 +338,7 @@ static int udevGenerateDeviceName(struct udev_device *device, def->name = virBufferContentAndReset(&buf); - for (i = 0; i < strlen(def->name) ; i++) { + for (i = 0; i < strlen(def->name); i++) { if (!(c_isalnum(*(def->name + i)))) { *(def->name + i) = '_'; }