From 1116a113667911f58d6d62f554474e758c91eae3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 16 Aug 2013 14:56:20 +0200 Subject: [PATCH] block: remove debug prints --- block.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/block.c b/block.c index 2fce291..9c47cc6 100644 --- a/block.c +++ b/block.c @@ -599,8 +599,6 @@ static void handle_swapfiles(bool on) if (m->type != TYPE_SWAP || !m->target) continue; - fprintf(stderr, "swapfile: %s\n", m->target); - if (stat(m->target, &s) || !S_ISREG(s.st_mode)) continue; @@ -609,8 +607,6 @@ static void handle_swapfiles(bool on) if (!pr) continue; - fprintf(stderr, "probe: %p\n", pr); - if (!strcmp(pr->id->name, "swap")) { if (on) swapon(pr->dev, m->prio); -- 2.30.2