4d9a27c357c87d340ec248d0ba611290b88c71a8
[openafs.git] / src / packaging / Debian / patches / paths
1 Patch pt_util to use the correct Debian patch for the Protection Server
2 database.  Not suitable upstream in its current form, but will be
3 obsolete if upstream uses the standard functions to figure out the
4 database path.
5
6 --- openafs.orig/src/ptserver/pt_util.c
7 +++ openafs/src/ptserver/pt_util.c
8 @@ -136,7 +136,7 @@
9      struct prentry uentry, gentry;
10      struct ubik_hdr *uh;
11      char *dfile = 0;
12 -    char *pfile = "/usr/afs/db/prdb.DB0";
13 +    char *pfile = "/var/lib/openafs/db/prdb.DB0";
14      struct cmd_parmdesc *tparm;
15  
16      tparm = a_as->parms;