From: Ian Jackson Date: Fri, 26 Jun 2009 22:58:02 +0000 (+0100) Subject: Fix page number printing bug X-Git-Tag: 1.9.2~90^2~21 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=commitdiff_plain;h=03f34f1d8cb78d9a4541d51a511020ea364e5679;hp=1d706837789f054bb983bfa362de196c5409c54f Fix page number printing bug --- 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"