summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/monetary.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a38a05643..52c29bc10f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-27  Marko Myllynen  <myllynen@redhat.com>
+
+	* stdlib/monetary.h: Fix comment.
+
 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
 
 	* sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
diff --git a/stdlib/monetary.h b/stdlib/monetary.h
index f3dafcdb69..c78795bfdd 100644
--- a/stdlib/monetary.h
+++ b/stdlib/monetary.h
@@ -34,7 +34,7 @@ typedef __ssize_t ssize_t;
 
 __BEGIN_DECLS
 
-/* Formatting a monetary value according to the given locale.  */
+/* Formatting a monetary value according to the current locale.  */
 extern ssize_t strfmon (char *__restrict __s, size_t __maxsize,
 			const char *__restrict __format, ...)
      __THROW __attribute_format_strfmon__ (3, 4);
@@ -42,7 +42,7 @@ extern ssize_t strfmon (char *__restrict __s, size_t __maxsize,
 #ifdef __USE_XOPEN2K8
 # include <xlocale.h>
 
-/* Formatting a monetary value according to the current locale.  */
+/* Formatting a monetary value according to the given locale.  */
 extern ssize_t strfmon_l (char *__restrict __s, size_t __maxsize,
 			  __locale_t __loc,
 			  const char *__restrict __format, ...)