Message ID | 20240405125942.1803058-11-michael.tremer@ipfire.org |
---|---|
State | Staged |
Commit | fd0b10c92cdc87c56fb51a3316f12a0412278a4e |
Headers | |
Series | [01/13] installer: Update language files | |
Commit Message
diff --git a/src/installer/main.c b/src/installer/main.c index ecfcff2ec..6253df550 100644 --- a/src/installer/main.c +++ b/src/installer/main.c @@ -377,7 +377,7 @@ int main(int argc, char *argv[]) { FILE *copying; setlocale(LC_ALL, ""); - sethostname(DISTRO_SNAME, 10); + sethostname(DISTRO_SNAME, strlen(DISTRO_SNAME)); /* Log file/terminal stuff. */ if (argc >= 2) {