chiark / gitweb /
regen
[userv.git] / debug.c
diff --git a/debug.c b/debug.c
index 6612545a1bff4e3c0a8c0d9e088d2ff0355cbaa0..5ec6f94ef885d11be340c50478fcb8d71ad99a4d 100644 (file)
--- a/debug.c
+++ b/debug.c
@@ -2,7 +2,7 @@
  * userv - ddebug.c
  * routines which are different for -DDEBUG
  *
- * Copyright (C)1996-1997 Ian Jackson
+ * Copyright (C)1996-1997,1999 Ian Jackson
  *
  * This is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by
@@ -160,7 +160,7 @@ void debug_dumprequest(pid_t mypid) {
         "calling uid: %ld\n"
          "calling user shell: `%s'\n"
         "calling groups:",
-        logname, (long)request_mbuf.callinguid,
+        loginname, (long)request_mbuf.callinguid,
         callinguser_shell);
   groupsdump(request_mbuf.ngids,calling_gids,calling_groups);
   printf("\n"