aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-13 09:11:31 +0000
committerRoy Marples <roy@marples.name>2009-01-13 09:11:31 +0000
commitfcf1cce549542bc6948c8b808becbd5933f15bf4 (patch)
treeba57b784f27e07a7f479fc8c319b26a6ef610977 /src/rc/rc-depend.c
parent3d37005a3d0c9a90578fcb249b823f08a6c58f49 (diff)
rc_newer/older_than only report file if time_t is a pointer, so it
should take precedence in the argument list.
Diffstat (limited to 'src/rc/rc-depend.c')
-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;