summaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-05-04 11:04:43 +0200
committerWerner Koch <wk@gnupg.org>2016-05-04 11:05:13 +0200
commitd00625dae60f26617d2e1bd4f22c6b35a4e92c91 (patch)
treeffc9b4f3a1ced708523658675e1f19a318e8fb17 /g10/build-packet.c
parentbuild: Update config.{guess,sub} to 2016-04-02 and 2016-03-30. (diff)
downloadgnupg2-d00625dae60f26617d2e1bd4f22c6b35a4e92c91.tar.xz
gnupg2-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 <wk@gnupg.org>
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