diff options
| author | Garance A Drosehn <gad@FreeBSD.org> | 2001-06-15 22:03:07 +0000 |
|---|---|---|
| committer | Garance A Drosehn <gad@FreeBSD.org> | 2001-06-15 22:03:07 +0000 |
| commit | cc3fd56f96f5726a445a8a6090bda47a94122df6 (patch) | |
| tree | 34bd9934cba11944407fb52a6d7f9c516d667752 /usr.sbin/lpr/common_source/common.c | |
| parent | 7474a22698a1e190f752da548c73b6a9505cd1e1 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/lpr/common_source/common.c')
| -rw-r--r-- | usr.sbin/lpr/common_source/common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c index 8e705db49005..8c434b024d64 100644 --- a/usr.sbin/lpr/common_source/common.c +++ b/usr.sbin/lpr/common_source/common.c @@ -553,8 +553,9 @@ fatal(pp, msg, va_alist) #else va_start(ap); #endif - if (from != host) - (void)printf("%s: ", host); + /* this error message is being sent to the 'from_host' */ + if (from_host != local_host) + (void)printf("%s: ", local_host); (void)printf("%s: ", progname); if (pp && pp->printer) (void)printf("%s: ", pp->printer); |
