summaryrefslogtreecommitdiffstats
path: root/example_unions/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'example_unions/decode.c')
-rw-r--r--example_unions/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_unions/decode.c b/example_unions/decode.c
index d40cd8ce..b9f4af55 100644
--- a/example_unions/decode.c
+++ b/example_unions/decode.c
@@ -85,7 +85,7 @@ int main()
if (!status)
{
- printf("Decoding failed.\n");
+ printf("Decode failed: %s\n", PB_GET_ERROR(&stream));
return 1;
}