X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=debug.c;h=ad1205ef4f7d40e1008df12e1b69b5f0c890d2f1;hb=7adf2c71251abac86b93cbd21914acccac295575;hp=19713af4bcdf028b34ecfd488e63bfeb53de0fb2;hpb=464d71c37246e556de9ec05f7b97af834a5224ee;p=userv.git
diff --git a/debug.c b/debug.c
index 19713af..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"
@@ -176,6 +176,8 @@ void debug_dumprequest(pid_t mypid) {
for (i=0; i