[glib/3v1n0/strerror_r-int-variant-support: 3/3] gstrfuncs: Update docs for g_strerror with a string closer to reality




commit d21d213d008db77b970471ee7e0c7ecc0c040477
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Jul 7 00:25:25 2022 +0200

    gstrfuncs: Update docs for g_strerror with a string closer to reality

 glib/gstrfuncs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c
index 7522cfa6e2..0386e8e45b 100644
--- a/glib/gstrfuncs.c
+++ b/glib/gstrfuncs.c
@@ -1313,7 +1313,7 @@ g_ascii_strtoll (const gchar *nptr,
  * ]|
  *
  * Returns: a UTF-8 string describing the error code. If the error code
- *     is unknown, it returns a string like "unknown error (<code>)".
+ *     is unknown, it returns a string like "Unknown error: <code>".
  */
 const gchar *
 g_strerror (gint errnum)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]