summaryrefslogtreecommitdiff
path: root/libbb/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/login.c')
-rw-r--r--libbb/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/login.c b/libbb/login.c
index a7f8de4..646995b 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':