X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Fdirs.c;h=2717f9421dc0b2588132e3682a9c9358299df867;hp=509d35fd7822e1d65c891cc249f6830b1ee5f438;hb=4a9a33ef6c2f09149c5ab3f89e42572ef38801e1;hpb=db80efa5e8003ae2458073e328260d23aa603bcf diff --git a/restore/dirs.c b/restore/dirs.c index 509d35f..2717f94 100644 --- a/restore/dirs.c +++ b/restore/dirs.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: dirs.c,v 1.34 2007/02/22 20:16:23 stelian Exp $"; + "$Id: dirs.c,v 1.35 2008/04/17 15:16:47 stelian Exp $"; #endif /* not lint */ #include @@ -673,7 +673,7 @@ setdirmodes(int flags) fprintf(stderr, "directory mode, owner, and times not set\n"); return; } - mf = fopen(modefile, "r"); + mf = FOPEN(modefile, "r"); if (mf == NULL) { warn("fopen"); fprintf(stderr, "cannot open mode file %s\n", modefile); @@ -747,7 +747,7 @@ comparedirmodes(void) fprintf(stderr, "directory mode, owner, and times not set\n"); return; } - mf = fopen(modefile, "r"); + mf = FOPEN(modefile, "r"); if (mf == NULL) { warn("fopen"); fprintf(stderr, "cannot open mode file %s\n", modefile);