diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-10-30 07:04:18 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-10-31 09:15:21 +0100 |
commit | f155cb6d75f1ee4eb5f4dd55243e3defc370ba5a (patch) | |
tree | 319cff37e8ab3723bb9f89184e12647bc16c8ad0 /src/locale/localed-util.c | |
parent | Merge pull request #29247 from naraghavan/naraghavan/dhcpv6-vendor-options (diff) | |
download | systemd-f155cb6d75f1ee4eb5f4dd55243e3defc370ba5a.tar.xz systemd-f155cb6d75f1ee4eb5f4dd55243e3defc370ba5a.zip |
env-util: make write_env_file() optionally take headers
This also makes write_env_file() and write_env_file_label() optionally
take dir_fd, and drop write_env_file_at().
Preparation for later commits.
Diffstat (limited to 'src/locale/localed-util.c')
-rw-r--r-- | src/locale/localed-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed-util.c b/src/locale/localed-util.c index d78b878cf9..eca765c3f2 100644 --- a/src/locale/localed-util.c +++ b/src/locale/localed-util.c @@ -532,7 +532,7 @@ int vconsole_write_data(Context *c) { return 0; } - r = write_env_file_label("/etc/vconsole.conf", l); + r = write_env_file_label(AT_FDCWD, "/etc/vconsole.conf", NULL, l); if (r < 0) return r; |