about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--io/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/pwd.c b/io/pwd.c
index 006f1d306f..21f4e51541 100644
--- a/io/pwd.c
+++ b/io/pwd.c
@@ -35,7 +35,7 @@ main (void)
     perror ("getcwd");
   else
     {
-      fputs_unlocked (dir, stdout);
+      puts (dir);
       free (dir);
     }