aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/rc-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
index 99a60fe4..1ca51e72 100644
--- a/src/rc/rc-misc.c
+++ b/src/rc/rc-misc.c
@@ -362,7 +362,7 @@ RC_DEPTREE * _rc_deptree_load(int force, int *regen)
int serrno = errno;
int merrno;
time_t t;
- char *file = NULL;
+ char file[PATH_MAX];
struct stat st;
struct utimbuf ut;
FILE *fp;