← Commit list

d69e31fb9

Eric Andersen
Eric Andersen
2002-10-18
FAILED Duration: 6s

Subject

Fix needless difference vs GNU

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/hostname.c+2 -2
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: hostname.c,v 1.32 2001/10/31 09:59:57 andersen Exp $
+ * $Id: hostname.c,v 1.33 2002/10/18 22:13:23 andersen Exp $
* Mini hostname implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <[email protected]>
@@ -106,7 +106,7 @@ int hostname_main(int argc, char **argv)
}
puts(buf);
} else if (type == 'd') {
- puts(p ? p + 1 : "");
+ if (p) puts(p + 1);
} else if (type == 'i') {
while (hp->h_addr_list[0]) {
printf("%s ", inet_ntoa(*(struct in_addr *) (*hp->h_addr_list++)));