diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-18 14:40:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-18 14:40:10 +0200 |
commit | 8d9848c04791b751f3bfc2d0bc5e475ab02a975e (patch) | |
tree | a81136a0ea87f4a2c9e7dc084db50a2727c45494 /src/coopgammad.c | |
parent | bug fix (diff) | |
download | coopgammad-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/coopgammad.c')
-rw-r--r-- | src/coopgammad.c | 4 |
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; } |