summaryrefslogtreecommitdiff
path: root/usr/src/cmd/print/bsd-sysv-commands
diff options
context:
space:
mode:
authorKeerthi Kondaka <Keerthi.Kondaka@Sun.COM>2009-05-11 19:11:40 -0700
committerKeerthi Kondaka <Keerthi.Kondaka@Sun.COM>2009-05-11 19:11:40 -0700
commit286caa64ad16838107c004ca772b1d153e7c7510 (patch)
treef14007efffccd04b1d7c041ead8bec1b199ae1b4 /usr/src/cmd/print/bsd-sysv-commands
parent1cdd1aaf626935b35809ac56ba35804939a9b4fb (diff)
downloadillumos-gate-286caa64ad16838107c004ca772b1d153e7c7510.tar.gz
6795878 Cascading banner page produces lp@ instead of user@
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/in.lpd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c b/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c
index 25d23c2516..ec371ce684 100644
--- a/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c
+++ b/usr/src/cmd/print/bsd-sysv-commands/in.lpd.c
@@ -20,15 +20,13 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
/* $Id: in.lpd.c 170 2006-05-20 05:58:49Z njacobs $ */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -179,7 +177,7 @@ parse_cf(papi_service_t svc, char *cf, char **files)
case 'P': /* RFC-1179 User */
++entry;
papiAttributeListAddString(&list, PAPI_ATTR_EXCL,
- "requesting-user-name", entry);
+ "job-originating-user-name", entry);
papiServiceSetUserName(svc, entry);
break;
case 'M': /* RFC-1179 Mail to User */