aboutsummaryrefslogtreecommitdiff
path: root/src/lib/delivery/delivery.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-05-10 15:31:06 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-05-10 15:38:16 -0400
commit3f10306c6ac67eaccbc11b22eed26f6ce2725bfe (patch)
tree948538817d51203173c824c62e90fbe378752080 /src/lib/delivery/delivery.c
parentdfc38629724eb4f6718cb73ff3de108871e377bd (diff)
downloadstasis-3f10306c6ac67eaccbc11b22eed26f6ce2725bfe.tar.gz
Update SYS* macro calls
Diffstat (limited to 'src/lib/delivery/delivery.c')
-rw-r--r--src/lib/delivery/delivery.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/delivery/delivery.c b/src/lib/delivery/delivery.c
index f9711f4..644c0fb 100644
--- a/src/lib/delivery/delivery.c
+++ b/src/lib/delivery/delivery.c
@@ -63,20 +63,20 @@ struct Delivery *delivery_duplicate(const struct Delivery *ctx) {
memcpy(&result->rules.content, &ctx->rules.content, sizeof(ctx->rules.content));
if (ctx->rules._handle) {
- SYSDEBUG("%s", "duplicating INIFILE handle - BEGIN");
+ SYSDEBUG("duplicating INIFILE handle - BEGIN");
result->rules._handle = malloc(sizeof(*result->rules._handle));
if (!result->rules._handle) {
- SYSERROR("%s", "unable to allocate space for INIFILE handle");
+ SYSERROR("unable to allocate space for INIFILE handle");
return NULL;
}
result->rules._handle->section = malloc(ctx->rules._handle->section_count * sizeof(**ctx->rules._handle->section));
if (!result->rules._handle->section) {
guard_free(result->rules._handle);
- SYSERROR("%s", "unable to allocate space for INIFILE section");
+ SYSERROR("unable to allocate space for INIFILE section");
return NULL;
}
memcpy(result->rules._handle, &ctx->rules._handle, sizeof(*ctx->rules._handle));
- SYSDEBUG("%s", "duplicating INIFILE handle - END");
+ SYSDEBUG("duplicating INIFILE handle - END");
}
// Runtime
@@ -112,7 +112,7 @@ struct Delivery *delivery_duplicate(const struct Delivery *ctx) {
if (ctx->system.platform) {
result->system.platform = malloc(DELIVERY_PLATFORM_MAX * sizeof(*result->system.platform));
if (!result->system.platform) {
- SYSERROR("%s", "unable to allocate space for system platform array");
+ SYSERROR("unable to allocate space for system platform array");
return NULL;
}
for (size_t i = 0; i < DELIVERY_PLATFORM_MAX; i++) {
@@ -365,7 +365,7 @@ void delivery_defer_packages(struct Delivery *ctx, int type) {
deferred = ctx->conda.pip_packages_defer;
strncpy(mode, "pip", sizeof(mode) - 1);
} else {
- SYSERROR("BUG: type %d does not map to a supported package manager!\n", type);
+ SYSERROR("BUG: type %d does not map to a supported package manager!", type);
exit(1);
}
mode[sizeof(mode) - 1] = '\0';