aboutsummaryrefslogtreecommitdiffstats
path: root/net/trafshow4/files/patch-ac
blob: 63308d0f003f60de0634815d42ef7ca1e5d234a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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;
    }