about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/tst-ungetwc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-ungetwc1.c b/libio/tst-ungetwc1.c
index eeee7f699b..f74c407893 100644
--- a/libio/tst-ungetwc1.c
+++ b/libio/tst-ungetwc1.c
@@ -11,7 +11,7 @@ int
 main (void)
 {
   FILE *fp;
-  char *str ="abcdef";
+  const char *str = "abcdef";
   wint_t ret, wc, ungetone = 0x00E4;	/* 0x00E4 means `a umlaut'. */
   char fname[] = "/tmp/tst-ungetwc1.out.XXXXXX";
   int fd;