X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Flogin.c;h=646995b0bcc27cd938c4db78284f51b4510de11e;hb=1340ca8c87d81bf00e604905f25bc04da22e980f;hp=a7f8de41ffcaa096c549a4948d73545c1f310ed4;hpb=5d8843e451c01d8abfe6b5be772637310e9e581e;p=oweals%2Fbusybox.git diff --git a/libbb/login.c b/libbb/login.c index a7f8de41f..646995b0b 100644 --- a/libbb/login.c +++ b/libbb/login.c @@ -72,7 +72,7 @@ void print_login_issue(const char *issue_file, const char *tty) case 'D': case 'o': c = getdomainname(buf, sizeof(buf) - 1); - buf[c >= 0 ? c : 0] = '\0'; + buf[c >= 0 ? c : 0] = '\0'; break; case 'd':