diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-07 12:45:32 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-07 12:45:32 -0400 |
commit | 914b79370cec1e1a33acb21a14701dd70449f0d8 (patch) | |
tree | 3910df3a1dcc195501f3bdfbafb66d1901bad2e0 /src | |
parent | 0822c3320242473eff942b927e567e66e2564021 (diff) | |
download | stasis-914b79370cec1e1a33acb21a14701dd70449f0d8.tar.gz |
Use msg() in delivery_overlay_packages_from_env()
Diffstat (limited to 'src')
-rw-r--r-- | src/delivery_install.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/delivery_install.c b/src/delivery_install.c index 1fc6030..a7754e8 100644 --- a/src/delivery_install.c +++ b/src/delivery_install.c @@ -69,7 +69,7 @@ int delivery_overlay_packages_from_env(struct Delivery *ctx, const char *env_nam } struct Test *test_block = requirement_from_test(ctx, spec_name); if (!test_block) { - printf("using spec from config without test: %s\n", spec); + msg(STASIS_MSG_L2 | STASIS_MSG_WARN, "from config without test: %s\n", spec); strlist_append(&new_list, spec); } } @@ -91,10 +91,10 @@ int delivery_overlay_packages_from_env(struct Delivery *ctx, const char *env_nam if (test && strcmp(test->name, frozen_name) == 0) { char *config_spec = have_spec_in_config(ctx, frozen_name); if (config_spec) { - printf("using spec from config: %s\n", config_spec); + msg(STASIS_MSG_L2, "from config: %s\n", config_spec); strlist_append(&new_list, config_spec); } else { - printf("using spec from environment: %s\n", frozen_spec); + msg(STASIS_MSG_L2, "from environment: %s\n", frozen_spec); strlist_append(&new_list, frozen_spec); } } |