diff options
Diffstat (limited to 'libbb/login.c')
-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 98e641c..ba9f4d2 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) case 'm': outbuf = uts.machine; break; -#ifndef HAVE_NO_UTSNAME_DOMAINNAME +/* The field domainname of struct utsname is Linux specific. */ +#if defined(__linux__) case 'D': case 'o': outbuf = uts.domainname; |