]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_mprintf.3: minor fix of the example
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 Jun 2023 09:29:41 +0000 (11:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Jun 2023 09:29:41 +0000 (11:29 +0200)
docs/libcurl/curl_mprintf.3

index 133c4afc98f758209169f2062e4cb44a1df3b902..720632ed8cf1265cf7b441ee25c420e74e5d5a28 100644 (file)
@@ -237,8 +237,8 @@ by the corresponding argument.
 A '%' is written. No argument is converted.
 .SH EXAMPLE
 .nf
-  mprintf("My name is %s\\n", name);
-  mprintf("Pi is almost %f\\n", 25/8);
+  curl_mprintf("My name is %s\\n", name);
+  curl_mprintf("Pi is almost %f\\n", 25/8);
 .fi
 .SH AVAILABILITY
 These functions will be removed from the public libcurl API in the future. Do