assert(overall <= 100);
log_debug("Transfer %zu/%zu is %u%% complete (%u%% overall).", i+1, n, percentage, overall);
- return sd_notifyf(/* unset= */ false, "X_SYSUPDATE_PROGRESS=%u\n"
+ return sd_notifyf(/* unset_environment=*/ false, "X_SYSUPDATE_PROGRESS=%u\n"
"X_SYSUPDATE_TRANSFERS_LEFT=%zu\n"
"X_SYSUPDATE_TRANSFERS_DONE=%zu\n"
"STATUS=Updating to '%s' (%u%% complete).",
log_info("Selected update '%s' for install.", us->version);
- (void) sd_notifyf(/* unset= */ false,
+ (void) sd_notifyf(/* unset_environment=*/ false,
"READY=1\n"
"X_SYSUPDATE_VERSION=%s\n"
"STATUS=Making room for '%s'.", us->version, us->version);
if (arg_sync)
sync();
- (void) sd_notifyf(/* unset= */ false,
+ (void) sd_notifyf(/* unset_environment=*/ false,
"STATUS=Updating to '%s'.", us->version);
/* There should now be one instance picked for each transfer, and the order is the same */
if (arg_sync)
sync();
- (void) sd_notifyf(/* unset= */ false,
+ (void) sd_notifyf(/* unset_environment=*/ false,
"STATUS=Installing '%s'.", us->version);
for (size_t i = 0; i < c->n_transfers; i++) {
manager->exit = true;
- (void) sd_notify(/* unset= */ false, NOTIFY_STOPPING_MESSAGE);
+ (void) sd_notify(/* unset_environment= */ false, NOTIFY_STOPPING_MESSAGE);
/* close sources of new events and discard buffered events */
manager->ctrl = udev_ctrl_unref(manager->ctrl);
assert(manager);
- r = sd_notifyf(/* unset= */ false,
+ r = sd_notifyf(/* unset_environment= */ false,
"READY=1\n"
"STATUS=Processing with %u children at max", manager->config.children_max);
if (r < 0)