mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
ata_id: drop spurious space
This commit is contained in:
parent
8cb1cc8dc3
commit
8dc26de6da
@ -496,7 +496,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy (model, id.model, 40);
|
memcpy(model, id.model, 40);
|
||||||
model[40] = '\0';
|
model[40] = '\0';
|
||||||
udev_util_encode_string(model, model_enc, sizeof(model_enc));
|
udev_util_encode_string(model, model_enc, sizeof(model_enc));
|
||||||
util_replace_whitespace((char *) id.model, model, 40);
|
util_replace_whitespace((char *) id.model, model, 40);
|
||||||
|
Loading…
Reference in New Issue
Block a user