1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/trafshow4/files/patch-ac
Justin M. Seger 116272d550 Update to trafshow-3.1
Submitted by:	Michael Vasilenko <acid@stu.cn.ua>
PR:		ports/15907, ports/16296
2000-01-24 16:08:09 +00:00

12 lines
404 B
Plaintext

--- color.c.orig Mon Jan 24 10:59:01 2000
+++ color.c Mon Jan 24 10:57:36 2000
@@ -336,7 +336,7 @@
error(1, "init_color_mask: getpwuid");
(void) sprintf(buf, "%s/.%s", pw->pw_dir, program_name);
if ((fp = fopen(buf, "r")) == NULL) {
- (void) strcpy(buf, "/etc/");
+ (void) strcpy(buf, "/usr/local/etc/");
(void) strcat(buf, program_name);
if ((fp = fopen(buf, "r")) == NULL) return 0;
}