mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-01 00:00:00 +07:00
ata_id: drop spurious space
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
parent
04d6ad05a3
commit
c87734cd27
@ -503,7 +503,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);
|
||||
|
Loading…
Reference in New Issue
Block a user