summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-09-16 18:42:12 +0200
committerGitHub <noreply@github.com>2020-09-16 18:42:12 +0200
commiteb5e26112e6da241284583399d62418716124f8e (patch)
tree242b2f1df3ed1dd830bea7ae0289c24e126b95cb /src/core/load-fragment.c
parentf593965161c04644b9ddd7959916eb863b883264 (diff)
parentaa088f62d1b7231cf0f595779af6b51c09a09a1a (diff)
downloadsystemd-eb5e26112e6da241284583399d62418716124f8e.tar.gz
Merge pull request #17076 from poettering/dissect-cleanup
minor cleanups to the dissector code
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r--src/core/load-fragment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index a4240225f1..8630ef0d4d 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -1483,7 +1483,7 @@ int config_parse_root_image_options(
MountOptions *o = NULL;
_cleanup_free_ char *mount_options_resolved = NULL;
const char *mount_options = NULL, *partition = "root";
- int partition_designator;
+ PartitionDesignator partition_designator;
/* Format is either 'root:foo' or 'foo' (root is implied) */
if (!isempty(*second)) {
@@ -4946,7 +4946,7 @@ int config_parse_mount_images(
for (;;) {
_cleanup_free_ char *partition = NULL, *mount_options = NULL, *mount_options_resolved = NULL;
MountOptions *o = NULL;
- int partition_designator;
+ PartitionDesignator partition_designator;
r = extract_many_words(&q, ":", EXTRACT_CUNESCAPE|EXTRACT_UNESCAPE_SEPARATORS, &partition, &mount_options, NULL);
if (r == -ENOMEM)