summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-26 19:06:50 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-26 19:06:50 +0100
commitc22cbe2672db2c95647c9412cfb4331d2be279a7 (patch)
tree164988fa1acb15cdcee3cba8535b02f1d2dfdce2 /main.c
parent44d8db9e5aa86165c97289f6c78a7e42bac78362 (diff)
rename milestone to target
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index e10c57b445..df15c559d4 100644
--- a/main.c
+++ b/main.c
@@ -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;
}