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