summaryrefslogtreecommitdiffstats
path: root/gl/wcrtomb.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 00:06:06 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 00:06:06 +0100
commit21c39515903c34bc6428a544c88cf1c100786847 (patch)
treec9d0465e24cc3148c84c2fee191f2b1bfc71b841 /gl/wcrtomb.c
parented01d534474cc640515f1d5155349f14090aafe9 (diff)
parent5d7d620903a2fb40f8cd3140081bfb7ceaf125d5 (diff)
downloadmonitoring-plugins-21c39515903c34bc6428a544c88cf1c100786847.tar.gz
Merge branch 'master' into check_swap_again
Diffstat (limited to 'gl/wcrtomb.c')
-rw-r--r--gl/wcrtomb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/wcrtomb.c b/gl/wcrtomb.c
index 48a6c8eb..197b020e 100644
--- a/gl/wcrtomb.c
+++ b/gl/wcrtomb.c
@@ -1,5 +1,5 @@
1/* Convert wide character to multibyte character. 1/* Convert wide character to multibyte character.
2 Copyright (C) 2008-2023 Free Software Foundation, Inc. 2 Copyright (C) 2008-2024 Free Software Foundation, Inc.
3 Written by Bruno Haible <bruno@clisp.org>, 2008. 3 Written by Bruno Haible <bruno@clisp.org>, 2008.
4 4
5 This file is free software: you can redistribute it and/or modify 5 This file is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@ wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
29#undef wcrtomb 29#undef wcrtomb
30{ 30{
31 /* This implementation of wcrtomb supports only stateless encodings. 31 /* This implementation of wcrtomb supports only stateless encodings.
32 ps must be in the initial state. */ 32 ps must be in an initial state. */
33 if (ps != NULL && !mbsinit (ps)) 33 if (ps != NULL && !mbsinit (ps))
34 { 34 {
35 errno = EINVAL; 35 errno = EINVAL;