]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: fix copypasta in create_symlink() (FIFO -> symlink)
authorMike Yuan <me@yhndnzj.com>
Sun, 9 Feb 2025 14:38:05 +0000 (15:38 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 13 Feb 2025 15:54:46 +0000 (15:54 +0000)
(cherry picked from commit 6f91e7a3bea2c5046354b31cb650b54e3b2884d5)

src/tmpfiles/tmpfiles.c

index bff05cda6f05f8b98b820958529a960d8f83dc72..b699a1e5be9da5d79f86a5e40f674174fa5533fd 100644 (file)
@@ -2422,7 +2422,7 @@ static int create_symlink(Context *c, Item *i) {
                 return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path);
         if (r == O_DIRECTORY)
                 return log_error_errno(SYNTHETIC_ERRNO(EISDIR),
-                                       "Cannot open path '%s' for creating FIFO, is a directory.", i->path);
+                                       "Cannot open path '%s' for creating symlink, is a directory.", i->path);
 
         if (arg_dry_run) {
                 log_info("Would create symlink %s -> %s", i->path, i->argument);