fstab-generator: use correct swap name var

Follow-up to 9445623363.
This commit is contained in:
Frantisek Sumsal
2023-05-26 14:05:40 +02:00
committed by Luca Boccassi
parent 0706718c07
commit 3aed259328

View 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;
}