aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-05-04 09:04:43 +0000
committerWerner Koch <[email protected]>2016-05-04 09:05:13 +0000
commitd00625dae60f26617d2e1bd4f22c6b35a4e92c91 (patch)
treeffc9b4f3a1ced708523658675e1f19a318e8fb17 /g10/build-packet.c
parentbuild: Update config.{guess,sub} to 2016-04-02 and 2016-03-30. (diff)
downloadgnupg-d00625dae60f26617d2e1bd4f22c6b35a4e92c91.tar.gz
gnupg-d00625dae60f26617d2e1bd4f22c6b35a4e92c91.zip
Some minor string changes and fixed a printf format.
* g10/build-packet.c (notation_value_to_human_readable_string): Use %zu for size_t. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/build-packet.c')
-rw-r--r--g10/build-packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 4d6d4afbb..9b6496766 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -1088,7 +1088,7 @@ notation_value_to_human_readable_string (struct notation *notation)
preview[i] = '?';
preview[i] = 0;
- return xasprintf (_("[ not human readable (%zd bytes: %s%s) ]"),
+ return xasprintf (_("[ not human readable (%zu bytes: %s%s) ]"),
len, preview, i < len ? "..." : "");
}
else