X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=debug.c;h=ad1205ef4f7d40e1008df12e1b69b5f0c890d2f1;hb=8adc516688947b38e6c89f492d19d45f8db09ba6;hp=6612545a1bff4e3c0a8c0d9e088d2ff0355cbaa0;hpb=26444956110f28281bef77dfc28be75e25ae85a2;p=userv.git
diff --git a/debug.c b/debug.c
index 6612545..ad1205e 100644
--- a/debug.c
+++ b/debug.c
@@ -2,11 +2,12 @@
* userv - ddebug.c
* routines which are different for -DDEBUG
*
- * Copyright (C)1996-1997 Ian Jackson
+ * userv is copyright Ian Jackson and other contributors.
+ * See README for full authorship information.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
@@ -15,8 +16,7 @@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with userv; if not, write to the Free Software
- * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with userv; if not, see .
*/
#include
@@ -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"