diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 09:59:23 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 09:59:23 -0500 |
commit | b2e7ee9d8ae4b6380d3352a882cafcbbc371c50a (patch) | |
tree | a054fd5fee01c25566da1f7e570a4c7c4fa03d76 | |
parent | 0760a46ffad286520f59cade3082ef79cdefa3d0 (diff) | |
download | stasis-b2e7ee9d8ae4b6380d3352a882cafcbbc371c50a.tar.gz |
Reduce stack usage for archsuffix variable
* Add spaces to banner
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,8 +17,8 @@ const char *BANNER = "---------------------------------------------------------- "╚██████╔╝██║ ██║ ██║ ╚═╝ ██║ ██║ ╚██████╗██║ ██║███████╗\n" " ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝\n" "---------------------------------------------------------------------\n" - " Delivery Generator \n" - " v%s\n" + " Delivery Generator \n" + " v%s \n" "---------------------------------------------------------------------\n" "Copyright (C) 2023 %s,\n" "Association of Universities for Research in Astronomy (AURA)\n"; @@ -180,7 +180,7 @@ int main(int argc, char *argv[], char *arge[]) { uname(&uts); msg(OMC_MSG_L2, "Setting architecture\n"); - char archsuffix[255]; + char archsuffix[20]; ctx.system.arch = strdup(uts.machine); if (!strcmp(ctx.system.arch, "x86_64")) { strcpy(archsuffix, "64"); |