projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb1cc8
)
ata_id: drop spurious space
author
Lennart Poettering
<lennart@poettering.net>
Mon, 18 May 2015 19:52:26 +0000
(21:52 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 18 May 2015 19:52:26 +0000
(21:52 +0200)
src/udev/ata_id/ata_id.c
patch
|
blob
|
history
diff --git
a/src/udev/ata_id/ata_id.c
b/src/udev/ata_id/ata_id.c
index
9e4f674
..
cc1bf45
100644
(file)
--- a/
src/udev/ata_id/ata_id.c
+++ b/
src/udev/ata_id/ata_id.c
@@
-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);