summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-gperf.gperf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-02-09 10:07:17 +0100
committerLennart Poettering <lennart@poettering.net>2022-02-09 10:17:33 +0100
commita99a85242c66c3ff419bb8f1b8a4bfbbfd9e18e3 (patch)
tree2f71364311c0e19a4eccdd053eba0be90b79f301 /src/nspawn/nspawn-gperf.gperf
parentconf-parser: update config_item_*_lookup() to follow modern coding style (diff)
downloadsystemd-a99a85242c66c3ff419bb8f1b8a4bfbbfd9e18e3.tar.xz
systemd-a99a85242c66c3ff419bb8f1b8a4bfbbfd9e18e3.zip
tree-wide: use config_parse_safe_string() at various places
Diffstat (limited to 'src/nspawn/nspawn-gperf.gperf')
-rw-r--r--src/nspawn/nspawn-gperf.gperf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-gperf.gperf b/src/nspawn/nspawn-gperf.gperf
index d25bef7468..13f51569e8 100644
--- a/src/nspawn/nspawn-gperf.gperf
+++ b/src/nspawn/nspawn-gperf.gperf
@@ -24,7 +24,7 @@ Exec.Ephemeral, config_parse_tristate, 0, of
Exec.ProcessTwo, config_parse_pid2, 0, 0
Exec.Parameters, config_parse_strv, 0, offsetof(Settings, parameters)
Exec.Environment, config_parse_strv, 0, offsetof(Settings, environment)
-Exec.User, config_parse_string, 0, offsetof(Settings, user)
+Exec.User, config_parse_safe_string, 0, offsetof(Settings, user)
Exec.Capability, config_parse_capability, 0, offsetof(Settings, capability)
Exec.AmbientCapability, config_parse_capability, 0, offsetof(Settings, ambient_capability)
Exec.DropCapability, config_parse_capability, 0, offsetof(Settings, drop_capability)