aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}