From 03f34f1d8cb78d9a4541d51a511020ea364e5679 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 26 Jun 2009 23:58:02 +0100 Subject: [PATCH 1/1] Fix page number printing bug --- pctb/pages.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pctb/pages.c b/pctb/pages.c index 8914bd6..80f176a 100644 --- a/pctb/pages.c +++ b/pctb/pages.c @@ -322,7 +322,8 @@ static void wait_for_stability(Snapshot **output, /* waits longer if we're going to return an image identical to previously * if previously==0, all images are considered identical to it */ - char *doing= masprintf(fmt,al); + char *doing; + sysassert( vasprintf(&doing,fmt,al) >=0 ); progress("%s",doing); debugf("PAGING wait_for_stability" -- 2.30.2