]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
namespace-util: Fix typo
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 11 Apr 2022 09:40:24 +0000 (11:40 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Apr 2022 10:20:08 +0000 (19:20 +0900)
src/basic/namespace-util.c

index b9120a5ed0e688bd36802e8f5bb94e9f36a7236b..4da9cb4cae7ef806db04d17444841a7a7a9c63ca 100644 (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);