about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/tst-getcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/tst-getcwd.c b/io/tst-getcwd.c
index f53f93cf0a..421eb18b5e 100644
--- a/io/tst-getcwd.c
+++ b/io/tst-getcwd.c
@@ -152,7 +152,7 @@ getcwd (NULL, sbs) = \"%s\", getcwd (thepath, sizeof thepath) = \"%s\"\n",
   for (i = len + 1; i < sizeof thepath; ++i)
     if (thepath[i] != '\xff')
       {
-	printf ("thepath[%d] != '\xff'\n", i);
+	printf ("thepath[%zd] != '\xff'\n", i);
 	return 1;
       }