diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/login.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/login.c b/libbb/login.c index 98e641cce..ba9f4d2b5 100644 --- a/libbb/login.c +++ b/libbb/login.c | |||
@@ -62,7 +62,8 @@ void FAST_FUNC print_login_issue(const char *issue_file, const char *tty) | |||
62 | case 'm': | 62 | case 'm': |
63 | outbuf = uts.machine; | 63 | outbuf = uts.machine; |
64 | break; | 64 | break; |
65 | #ifndef HAVE_NO_UTSNAME_DOMAINNAME | 65 | /* The field domainname of struct utsname is Linux specific. */ |
66 | #if defined(__linux__) | ||
66 | case 'D': | 67 | case 'D': |
67 | case 'o': | 68 | case 'o': |
68 | outbuf = uts.domainname; | 69 | outbuf = uts.domainname; |