projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
file reorg, pathnames.h, paths.h
[unix-history]
/
usr
/
src
/
usr.sbin
/
lpr
/
common_source
/
displayq.c
diff --git
a/usr/src/usr.sbin/lpr/common_source/displayq.c
b/usr/src/usr.sbin/lpr/common_source/displayq.c
index
71a7a6b
..
49aba42
100644
(file)
--- a/
usr/src/usr.sbin/lpr/common_source/displayq.c
+++ b/
usr/src/usr.sbin/lpr/common_source/displayq.c
@@
-16,7
+16,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)displayq.c 5.
8
(Berkeley) %G%";
+static char sccsid[] = "@(#)displayq.c 5.
9
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-24,6
+24,7
@@
static char sccsid[] = "@(#)displayq.c 5.8 (Berkeley) %G%";
*/
#include "lp.h"
*/
#include "lp.h"
+#include "pathnames.h"
#define JOBCOL 40 /* column for job # in -l format */
#define OWNCOL 7 /* start of Owner column in normal */
#define JOBCOL 40 /* column for job # in -l format */
#define OWNCOL 7 /* start of Owner column in normal */
@@
-73,11
+74,11
@@
displayq(format)
else if (i == 0)
fatal("unknown printer");
if ((LP = pgetstr("lp", &bp)) == NULL)
else if (i == 0)
fatal("unknown printer");
if ((LP = pgetstr("lp", &bp)) == NULL)
- LP = DEFDEVLP;
+ LP =
_PATH_
DEFDEVLP;
if ((RP = pgetstr("rp", &bp)) == NULL)
RP = DEFLP;
if ((SD = pgetstr("sd", &bp)) == NULL)
if ((RP = pgetstr("rp", &bp)) == NULL)
RP = DEFLP;
if ((SD = pgetstr("sd", &bp)) == NULL)
- SD = DEFSPOOL;
+ SD =
_PATH_
DEFSPOOL;
if ((LO = pgetstr("lo", &bp)) == NULL)
LO = DEFLOCK;
if ((ST = pgetstr("st", &bp)) == NULL)
if ((LO = pgetstr("lo", &bp)) == NULL)
LO = DEFLOCK;
if ((ST = pgetstr("st", &bp)) == NULL)