From 71045e481971d5e18104e1bdbd0335d4b2e05eee Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Fri, 21 Aug 2015 10:11:08 +0300 Subject: 2.14 --- mdk-stage1/Makefile | 2 +- mdk-stage1/NEWS | 3 +++ mdk-stage1/network.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile index 3534f96c3..47f461cec 100644 --- a/mdk-stage1/Makefile +++ b/mdk-stage1/Makefile @@ -13,7 +13,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -VERSION=2.13 +VERSION=2.14 PRODUCT=drakx-installer-binaries # diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index 092f027f4..551f2d734 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,6 @@ +2.14 +- network.c: fix -Werror=logical-not-parentheses + 2.13 - mount again debugfs for ldetect (mga#14435) (regression in 1.83) diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index 4d7f1ac6c..5507fab58 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -291,7 +291,7 @@ static int save_netinfo(struct interface_info * intf) fprintf(f, "NETWORKING=yes\n"); fprintf(f, "FORWARD_IPV4=false\n"); - if (hostname && !intf->boot_proto == BOOTPROTO_DHCP) + if (hostname && !(intf->boot_proto == BOOTPROTO_DHCP)) fprintf(f, "HOSTNAME=%s\n", hostname); if (gateway.s_addr != 0) fprintf(f, "GATEWAY=%s\n", inet_ntoa(gateway)); -- cgit v1.2.1