aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-05-20 12:20:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-05-20 12:20:48 +0200
commite18255d1dadc9686daa328fa121423b47d2f6af4 (patch)
treeabea08a2f62c5fa9322086d5b0151b602636da2b /libbb
parente424423a7b164e0c343c180a944844fd27ccbe97 (diff)
parent38478a600f52eb8f00d260a2f99d8430b9aba1e8 (diff)
downloadbusybox-e18255d1dadc9686daa328fa121423b47d2f6af4.tar.gz
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Diffstat (limited to 'libbb')
-rw-r--r--libbb/login.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/login.c b/libbb/login.c
index b3e199ce4..98e641cce 100644
--- a/libbb/login.c
+++ b/libbb/login.c
@@ -62,10 +62,12 @@ void FAST_FUNC print_login_issue(const char *issue_file, const char *tty)
case 'm':
outbuf = uts.machine;
break;
+#ifndef HAVE_NO_UTSNAME_DOMAINNAME
case 'D':
case 'o':
outbuf = uts.domainname;
break;
+#endif
case 'd':
strftime(buf, sizeof(buf), fmtstr_d, localtime(&t));
break;