1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

namespace-util: Fix typo

This commit is contained in:
Daan De Meyer 2022-04-11 11:40:24 +02:00 committed by Yu Watanabe
parent e3d76a8efd
commit 688efe7703

View File

@ -213,7 +213,7 @@ int userns_acquire(const char *uid_map, const char *gid_map) {
r = namespace_open(pid, NULL, NULL, NULL, &userns_fd, NULL);
if (r < 0)
return log_error_errno(r, "Failed to open netns fd: %m");
return log_error_errno(r, "Failed to open userns fd: %m");
return TAKE_FD(userns_fd);