Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- src/installer/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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) {