summaryrefslogtreecommitdiff
path: root/src/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/job.c')
-rw-r--r--src/job.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/job.c b/src/job.c
index 887de92cad..9937ed735b 100644
--- a/src/job.c
+++ b/src/job.c
@@ -144,11 +144,12 @@ void job_dependency_delete(Job *subject, Job *object, bool *matters) {
}
void job_dump(Job *j, FILE*f, const char *prefix) {
-
-
assert(j);
assert(f);
+ if (!prefix)
+ prefix = "";
+
fprintf(f,
"%s-> Job %u:\n"
"%s\tAction: %s -> %s\n"