diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-14 16:26:13 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-16 02:14:47 +0900 |
commit | 393fcaf733d8e50f18a70be7de1e088fb61f1ff4 (patch) | |
tree | 191ca1b192c59bdf15423f3844a3cedea8970afd /src/udev/ata_id | |
parent | 9a56b87717ae6c24576b939b6484f3af175514d6 (diff) | |
download | systemd-393fcaf733d8e50f18a70be7de1e088fb61f1ff4.tar.gz |
udev: move util_replace_chars() to udev-util.c
Diffstat (limited to 'src/udev/ata_id')
-rw-r--r-- | src/udev/ata_id/ata_id.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c index 434b8765aa..9d22be81b2 100644 --- a/src/udev/ata_id/ata_id.c +++ b/src/udev/ata_id/ata_id.c @@ -485,11 +485,11 @@ int main(int argc, char *argv[]) { model[40] = '\0'; udev_util_encode_string(model, model_enc, sizeof(model_enc)); udev_replace_whitespace((char *) id.model, model, 40); - util_replace_chars(model, NULL); + udev_replace_chars(model, NULL); udev_replace_whitespace((char *) id.serial_no, serial, 20); - util_replace_chars(serial, NULL); + udev_replace_chars(serial, NULL); udev_replace_whitespace((char *) id.fw_rev, revision, 8); - util_replace_chars(revision, NULL); + udev_replace_chars(revision, NULL); if (export) { /* Set this to convey the disk speaks the ATA protocol */ |