diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-12 12:32:18 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-12 12:32:44 -0400 |
| commit | d89f776c1d55fa6ad41b5dcf870d03256a4f54a7 (patch) | |
| tree | 85d3dfee539a575d22d6d9cb070fb95f255b5854 /src | |
| parent | 0c23437108bc5c7c00104345f2a22bd9da607e20 (diff) | |
| download | stasis-d89f776c1d55fa6ad41b5dcf870d03256a4f54a7.tar.gz | |
Remove redundant __FUNCTION__
Diffstat (limited to 'src')
| -rw-r--r-- | src/cli/stasis_indexer/helpers.c | 2 | ||||
| -rw-r--r-- | src/lib/core/artifactory.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/stasis_indexer/helpers.c b/src/cli/stasis_indexer/helpers.c index bf7efee..92e2dd4 100644 --- a/src/cli/stasis_indexer/helpers.c +++ b/src/cli/stasis_indexer/helpers.c @@ -257,7 +257,7 @@ int get_files(struct StrList **out, const char *path, const char *pattern, ...) return -1; } if ((size_t) len > sizeof(userpattern)) { - SYSWARN("%s: userpattern truncated!", __FUNCTION__); + SYSWARN("userpattern truncated!"); } va_end(args); if (!strlen(userpattern)) { 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; } |
