aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-18 14:40:10 +0200
committerMattias Andrée <maandree@kth.se>2016-07-18 14:40:10 +0200
commit8d9848c04791b751f3bfc2d0bc5e475ab02a975e (patch)
treea81136a0ea87f4a2c9e7dc084db50a2727c45494 /src
parentbug fix (diff)
downloadcoopgammad-8d9848c04791b751f3bfc2d0bc5e475ab02a975e.tar.gz
coopgammad-8d9848c04791b751f3bfc2d0bc5e475ab02a975e.tar.bz2
coopgammad-8d9848c04791b751f3bfc2d0bc5e475ab02a975e.tar.xz
m diagnostics
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r--src/coopgammad.c4
1 files changed, 2 insertions, 2 deletions
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;
}