slackbuilds_ponce/network/NetworkManager/patches/wired-fix-uninitialized-variable.patch
Robby Workman 4851069dfd network/NetworkManager: Included several patches from upstream
This commit adds quite a few patches from the upstream
NM_0_8 git branch.  Most of them are bugfix-only patches,
but the two dealing with /etc/hosts policy are changes in
behavior.  This *should* be an improvement for us, but if
you notice any ill effects, please advise.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-01-10 12:44:27 -06:00

25 lines
785 B
Diff

From 2236c1f318bcbdd50820296136a25bade5fcef9e Mon Sep 17 00:00:00 2001
From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Date: Fri, 19 Nov 2010 16:17:40 -0600
Subject: [PATCH 2/4] wired: fix uninitialized variable
---
src/nm-device-ethernet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/nm-device-ethernet.c b/src/nm-device-ethernet.c
index 08bbc50..251a54c 100644
--- a/src/nm-device-ethernet.c
+++ b/src/nm-device-ethernet.c
@@ -308,7 +308,7 @@ _update_s390_subchannels (NMDeviceEthernet *self)
const char *iface;
GUdevClient *client;
GUdevDevice *dev;
- GUdevDevice *parent;
+ GUdevDevice *parent = NULL;
const char *parent_path, *item, *driver;
const char *subsystems[] = { "net", NULL };
GDir *dir;
--
1.7.3.4