summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-08-21 10:11:08 +0300
committerThomas Backlund <tmb@mageia.org>2015-08-21 10:11:08 +0300
commit71045e481971d5e18104e1bdbd0335d4b2e05eee (patch)
treef63ba3271099a44d3f7a4472001502946946f9e6 /mdk-stage1
parentd792d1fe46a1ea25f64a1203524392b30b7ce79b (diff)
downloaddrakx-71045e481971d5e18104e1bdbd0335d4b2e05eee.tar
drakx-71045e481971d5e18104e1bdbd0335d4b2e05eee.tar.gz
drakx-71045e481971d5e18104e1bdbd0335d4b2e05eee.tar.bz2
drakx-71045e481971d5e18104e1bdbd0335d4b2e05eee.tar.xz
drakx-71045e481971d5e18104e1bdbd0335d4b2e05eee.zip
2.14
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/Makefile2
-rw-r--r--mdk-stage1/NEWS3
-rw-r--r--mdk-stage1/network.c2
3 files changed, 5 insertions, 2 deletions
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));