diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-26 19:06:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-26 19:06:50 +0100 |
commit | c22cbe2672db2c95647c9412cfb4331d2be279a7 (patch) | |
tree | 164988fa1acb15cdcee3cba8535b02f1d2dfdce2 /main.c | |
parent | 44d8db9e5aa86165c97289f6c78a7e42bac78362 (diff) |
rename milestone to target
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -10,7 +10,7 @@ int main(int argc, char *argv[]) { Manager *m = NULL; - Name *milestone = NULL, *syslog = NULL; + Name *target = NULL, *syslog = NULL; Job *job = NULL; int r, retval = 1; @@ -21,8 +21,8 @@ int main(int argc, char *argv[]) { goto finish; } - if ((r = manager_load_name(m, "default.milestone", &milestone)) < 0) { - log_error("Failed to load default milestone: %s", strerror(-r)); + if ((r = manager_load_name(m, "default.target", &target)) < 0) { + log_error("Failed to load default target: %s", strerror(-r)); goto finish; } @@ -31,8 +31,8 @@ int main(int argc, char *argv[]) { goto finish; } - if ((r = manager_add_job(m, JOB_START, milestone, JOB_REPLACE, false, &job)) < 0) { - log_error("Failed to start default milestone: %s", strerror(-r)); + if ((r = manager_add_job(m, JOB_START, target, JOB_REPLACE, false, &job)) < 0) { + log_error("Failed to start default target: %s", strerror(-r)); goto finish; } |