diff options
author | gad <gad@FreeBSD.org> | 2001-06-15 16:28:37 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2001-06-15 16:28:37 +0000 |
commit | a2e364fff77d5509fa8af63d046c166203d97da8 (patch) | |
tree | a5811d553f3de3564033f5fca355610ed870db5c /usr.sbin/lpr/lpd | |
parent | df20a2faa4ab2c79c57b3d90035df5494ddea44a (diff) | |
download | FreeBSD-src-a2e364fff77d5509fa8af63d046c166203d97da8.zip FreeBSD-src-a2e364fff77d5509fa8af63d046c166203d97da8.tar.gz |
Rename global variable 'name' to 'progname', thus fixing a number of
warnings which come up for various routines that have a parameter which
is also called 'name'.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 1 week
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c index 0394351..d7de749 100644 --- a/usr.sbin/lpr/lpd/lpd.c +++ b/usr.sbin/lpr/lpd/lpd.c @@ -140,7 +140,7 @@ main(int argc, char **argv) socket_debug = 0; gethostname(host, sizeof(host)); - name = "lpd"; + progname = "lpd"; if (euid != 0) errx(EX_NOPERM,"must run as root"); |