freebsd-ports/ftp/tftp-hpa/files/patch-tftpd_tftpd.c
Brooks Davis 0724a6c346 - Upgrade to 0.40.
- Log as LOG_FTP instead of LOG_DAEMON

Submitted by:	Alex Deiter <tiamat at komi dot mts dot ru>
PR:		ports/76303
2005-01-17 18:56:35 +00:00

15 lines
351 B
C

$FreeBSD$
--- tftpd/tftpd.c.orig
+++ tftpd/tftpd.c
@@ -292,7 +292,7 @@
p = strrchr(argv[0], '/');
__progname = (p && p[1]) ? p+1 : argv[0];
- openlog(__progname, LOG_PID|LOG_NDELAY, LOG_DAEMON);
+ openlog(__progname, LOG_PID|LOG_NDELAY, LOG_FTP);
while ((c = getopt(argc, argv, "cspvVla:B:u:U:r:t:T:m:")) != -1)
switch (c) {