aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-depend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c
index 5d10da10..490754d3 100644
--- a/src/rc/rc-depend.c
+++ b/src/rc/rc-depend.c
@@ -65,7 +65,7 @@ _rc_deptree_load(int force, int *regen) {
FILE *fp;
t = 0;
- if (rc_deptree_update_needed(file, &t) || force != 0) {
+ if (rc_deptree_update_needed(&t, file) || force != 0) {
/* Test if we have permission to update the deptree */
fd = open(RC_DEPTREE_CACHE, O_WRONLY);
merrno = errno;