diff options
Diffstat (limited to 'libical/examples/errors.c')
-rw-r--r-- | libical/examples/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libical/examples/errors.c b/libical/examples/errors.c index 071a2de816..86d963bd75 100644 --- a/libical/examples/errors.c +++ b/libical/examples/errors.c @@ -32,7 +32,7 @@ void component_errors(icalcomponent *comp) errors = icalcomponent_count_errors(comp); - printf("This component has %d parsing errors\n"); + printf("This component has %d parsing errors\n", errors); /* Print out all of the parsing errors. This is not strictly correct, because it does not descend into any sub-components, |