about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/pwd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/io/pwd.c b/io/pwd.c
index 68ed1b924f..8dbd958762 100644
--- a/io/pwd.c
+++ b/io/pwd.c
@@ -23,7 +23,12 @@
 int
 main (void)
 {
-  char *dir = getcwd ((char *) NULL, 0);
+  char *dir;
+
+  /* Let this program be used for debugging.  */
+  mtrace ();
+
+  dir = getcwd ((char *) NULL, 0);
 
   if (dir == NULL)
     perror ("getcwd");