summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index cfefb6f..ab70a03 100644
--- a/file.c
+++ b/file.c
@@ -395,7 +395,7 @@ set_command_state (file, state)
struct dep *d;
for (d = file->also_make; d != 0; d = d->next)
- d->command_state = state;
+ d->file->command_state = state;
}
/* Print the data base of files. */