aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/fopen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c
index 7c50b0cc6..44d2498a0 100644
--- a/docs/examples/fopen.c
+++ b/docs/examples/fopen.c
@@ -488,7 +488,7 @@ main(int argc, char *argv[])
handle = url_fopen(url, "r");
if(!handle)
{
- printf("couldn't url_fopen()\n");
+ printf("couldn't url_fopen() %s\n", url);
fclose(outf);
return 2;
}
@@ -514,7 +514,7 @@ main(int argc, char *argv[])
handle = url_fopen("testfile", "r");
if(!handle) {
- printf("couldn't url_fopen()\n");
+ printf("couldn't url_fopen() testfile\n");
fclose(outf);
return 2;
}
@@ -539,7 +539,7 @@ main(int argc, char *argv[])
handle = url_fopen("testfile", "r");
if(!handle) {
- printf("couldn't url_fopen()\n");
+ printf("couldn't url_fopen() testfile\n");
fclose(outf);
return 2;
}