diff --git a/docs/quick.dox b/docs/quick.dox index 79db9704..42b5d9c7 100644 --- a/docs/quick.dox +++ b/docs/quick.dox @@ -96,7 +96,7 @@ description to `stderr`. @code void error_callback(int error, const char* description) { - fputs(description, stderr); + fprintf(stderr, "Error: %s\n", description); } @endcode