aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-05-12 12:32:18 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-05-12 12:32:44 -0400
commitd89f776c1d55fa6ad41b5dcf870d03256a4f54a7 (patch)
tree85d3dfee539a575d22d6d9cb070fb95f255b5854 /src/lib
parent0c23437108bc5c7c00104345f2a22bd9da607e20 (diff)
downloadstasis-d89f776c1d55fa6ad41b5dcf870d03256a4f54a7.tar.gz
Remove redundant __FUNCTION__
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/core/artifactory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/core/artifactory.c b/src/lib/core/artifactory.c
index 669bfff..d4b48fb 100644
--- a/src/lib/core/artifactory.c
+++ b/src/lib/core/artifactory.c
@@ -38,7 +38,7 @@ int artifactory_download_cli(char *dest,
strncpy(os_ident, "linux", sizeof(os_ident) - 1);
os_ident[sizeof(os_ident) - 1] = '\0';
} else {
- SYSERROR("%s: unknown operating system: %s", __FUNCTION__, os_ident);
+ SYSERROR("unknown operating system: %s", os_ident);
return -1;
}
@@ -59,7 +59,7 @@ int artifactory_download_cli(char *dest,
} else if (!strcmp(arch_ident, "arm64") || !strcmp(arch_ident, "aarch64")) {
strncpy(arch_ident, "arm64", sizeof(arch_ident) - 1);
} else {
- SYSERROR("%s: unknown architecture: %s", __FUNCTION__, arch_ident);
+ SYSERROR("unknown architecture: %s", arch_ident);
return -1;
}
arch_ident[sizeof(arch_ident) - 1] = '\0';
@@ -79,7 +79,7 @@ int artifactory_download_cli(char *dest,
path[sizeof(path) - 1] = '\0';
if (mkdirs(path, 0755)) {
- SYSERROR("%s: %s: %s", __FUNCTION__, path, strerror(errno));
+ SYSERROR("%s: %s", path, strerror(errno));
return -1;
}