From 8d9848c04791b751f3bfc2d0bc5e475ab02a975e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Jul 2016 14:40:10 +0200 Subject: m diagnostics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/coopgammad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/coopgammad.c b/src/coopgammad.c index 48891a4..47efb42 100644 --- a/src/coopgammad.c +++ b/src/coopgammad.c @@ -551,8 +551,8 @@ static int unmarshal_and_merge_state(const char* restrict statefile) goto fail; if (r != n) { - fprintf(stderr, "%s: unmarshalled state file was %s than the unmarshalled state\n", - argv0, n > r ? "larger" : "smaller"); + fprintf(stderr, "%s: unmarshalled state file was %s than the unmarshalled state: read %zu of %zu bytes\n", + argv0, n > r ? "larger" : "smaller", r, n); errno = 0; goto fail; } -- cgit v1.2.3-70-g09d2