From: Karel Zak Date: Mon, 10 Jun 2013 09:51:44 +0000 (+0200) Subject: swapon: use TT_FL_FREEDATA for tt table X-Git-Tag: v2.24-rc1~203 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3173ea8e7f65b6225a6f21518338218b0e192fb0;p=thirdparty%2Futil-linux.git swapon: use TT_FL_FREEDATA for tt table Signed-off-by: Karel Zak --- diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c index 572636a187..1691df6d0f 100644 --- a/sys-utils/swapon.c +++ b/sys-utils/swapon.c @@ -237,7 +237,7 @@ static int show_table(int tt_flags, int bytes) if (!itr) err(EXIT_FAILURE, _("failed to initialize libmount iterator")); - tt = tt_new_table(tt_flags); + tt = tt_new_table(tt_flags | TT_FL_FREEDATA); if (!tt) { warn(_("failed to initialize output table")); goto done;