1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

ata_id: drop spurious space

This commit is contained in:
Lennart Poettering 2015-05-18 21:52:26 +02:00
parent 8cb1cc8dc3
commit 8dc26de6da

View File

@ -496,7 +496,7 @@ int main(int argc, char *argv[])
}
}
memcpy (model, id.model, 40);
memcpy(model, id.model, 40);
model[40] = '\0';
udev_util_encode_string(model, model_enc, sizeof(model_enc));
util_replace_whitespace((char *) id.model, model, 40);