diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-20 01:14:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-20 01:14:09 +0200 |
commit | 9eb63b3cb4a41707b6c01d81cef15acf1a757613 (patch) | |
tree | 527d6bb4312b4cf197ce803cdd72c21de5f65519 /src | |
parent | 7c394faa38de389638e19b19212ed50aca870e3c (diff) |
job: don't show (null) prefix in dump
Diffstat (limited to 'src')
-rw-r--r-- | src/job.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" |