diff options
| author | Karel Zak <kzak@redhat.com> | 2025-05-13 11:25:39 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-05-13 11:25:39 +0200 |
| commit | c6b3e9888dca27942f38a85ada8710c44e82ef02 (patch) | |
| tree | b66444527a7c0a7fb906b920854b9b4b932502ef /libfdisk/src/script.c | |
| parent | dbbe9e7d2456bb9a1f336658bb9bb02babf7b30f (diff) | |
| download | util-linux-c6b3e9888dca27942f38a85ada8710c44e82ef02.tar.gz | |
treewide: add ul_ to parse_size() function name
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/script.c')
| -rw-r--r-- | libfdisk/src/script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libfdisk/src/script.c b/libfdisk/src/script.c index 6bb642f021..e782f37c54 100644 --- a/libfdisk/src/script.c +++ b/libfdisk/src/script.c @@ -1024,7 +1024,7 @@ static int parse_start_value(struct fdisk_script *dp, struct fdisk_partition *pa int pow = 0, sign = skip_optional_sign(&tk); uint64_t num; - rc = parse_size(tk, (uintmax_t *) &num, &pow); + rc = ul_parse_size(tk, (uintmax_t *) &num, &pow); if (!rc) { if (pow) { /* specified as <num><suffix> */ if (!dp->cxt->sector_size) { @@ -1080,7 +1080,7 @@ static int parse_size_value(struct fdisk_script *dp, struct fdisk_partition *pa, int pow = 0, sign = skip_optional_sign(&tk); uint64_t num; - rc = parse_size(tk, (uintmax_t *) &num, &pow); + rc = ul_parse_size(tk, (uintmax_t *) &num, &pow); if (!rc) { if (pow) { /* specified as <size><suffix> */ if (!dp->cxt->sector_size) { @@ -1564,7 +1564,7 @@ int fdisk_apply_script_headers(struct fdisk_context *cxt, struct fdisk_script *d if (str) { uintmax_t sz; - rc = parse_size(str, &sz, NULL); + rc = ul_parse_size(str, &sz, NULL); if (rc == 0) rc = fdisk_save_user_grain(cxt, sz); if (rc) @@ -1591,7 +1591,7 @@ int fdisk_apply_script_headers(struct fdisk_context *cxt, struct fdisk_script *d if (str) { uintmax_t sz; - rc = parse_size(str, &sz, NULL); + rc = ul_parse_size(str, &sz, NULL); if (rc == 0) rc = fdisk_gpt_set_npartitions(cxt, sz); } |
