ata_id: drop spurious space

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Lennart Poettering 2015-05-18 21:52:26 +02:00 committed by Anthony G. Basile
parent 04d6ad05a3
commit c87734cd27

View File

@ -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);