summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-06-07 10:31:10 +0000
committertjr <tjr@FreeBSD.org>2004-06-07 10:31:10 +0000
commit76e830207900fd1ac155c5d6702335b25fff43de (patch)
tree859aa0ff9de953f141389e9cef23e3a0d271be15 /include/wchar.h
parent3a5bdeaf2c085bc2783baa831f373d758a5fe9c8 (diff)
downloadFreeBSD-src-76e830207900fd1ac155c5d6702335b25fff43de.zip
FreeBSD-src-76e830207900fd1ac155c5d6702335b25fff43de.tar.gz
Fix typo in putwc().
Noticed by: stefanf
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 5bfac56..67f582c 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -180,7 +180,7 @@ extern struct __sFILE *__stderrp;
#define getwc(fp) fgetwc(fp)
#define getwchar() fgetwc(__stdinp)
-#define putwc(wc, fp) fputwc(x, fp)
+#define putwc(wc, fp) fputwc(wc, fp)
#define putwchar(wc) fputwc(wc, __stdoutp)
#if __ISO_C_VISIBLE >= 1999
OpenPOWER on IntegriCloud