aboutsummaryrefslogtreecommitdiff
path: root/stdlib/monetary.h
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2015-05-27 08:07:07 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2015-05-27 08:07:07 +0530
commitd28311a19d7fd09f96c4b5c9a1dbf65b88dc3282 (patch)
tree70a01f44b0e3c7a5334cd3ae1f48ebc51b230ab5 /stdlib/monetary.h
parent1827059925140a1f0c16faf23ee895ee72f84efc (diff)
downloadglibc-d28311a19d7fd09f96c4b5c9a1dbf65b88dc3282.zip
glibc-d28311a19d7fd09f96c4b5c9a1dbf65b88dc3282.tar.gz
glibc-d28311a19d7fd09f96c4b5c9a1dbf65b88dc3282.tar.bz2
Fix monetary.h comment
On 2015-05-26 21:24, Siddhesh Poyarekar wrote: > On Tue, May 26, 2015 at 05:13:07PM +0300, Marko Myllynen wrote: >> this should be obvious, please commit if looks to be ok. >> >> 2015-05-26 Marko Myllynen <myllynen@redhat.com> >> >> * stdlib/monetary.h: Fix comment. > > Patch didn't apply to master, but I've fixed it up and pushed it. sorry about that (a whitespace hickup) - but your patch changed the wrong comment, so here's a new patch to fix the fix.
Diffstat (limited to 'stdlib/monetary.h')
-rw-r--r--stdlib/monetary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/monetary.h b/stdlib/monetary.h
index f3dafcd..c78795b 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, ...)