]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fstab-generator: use correct swap name var
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 26 May 2023 12:05:40 +0000 (14:05 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 26 May 2023 12:47:51 +0000 (13:47 +0100)
Follow-up to 9445623363.

src/fstab-generator/fstab-generator.c

index 6337bc235f53cde937e940da992cc2969c49d43a..6f69e23c058a8ea442842f8edbfa6e33560d46ff 100644 (file)
@@ -822,7 +822,7 @@ static int parse_fstab_one(
 
         is_swap = streq_ptr(fstype, "swap");
         if (is_swap && use_swap_enabled && !arg_swap_enabled) {
-                log_info("Swap unit generation disabled on kernel command line, ignoring swap entry for %s.", what);
+                log_info("Swap unit generation disabled on kernel command line, ignoring swap entry for %s.", what_original);
                 return 0;
         }