mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
src/node_device: Remove the whitespace before ';'
This commit is contained in:
parent
c2e284ef66
commit
4346d37cb7
@ -338,7 +338,7 @@ static int udevGenerateDeviceName(struct udev_device *device,
|
|||||||
|
|
||||||
def->name = virBufferContentAndReset(&buf);
|
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)))) {
|
if (!(c_isalnum(*(def->name + i)))) {
|
||||||
*(def->name + i) = '_';
|
*(def->name + i) = '_';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user