summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-20 07:27:42 +0000
committerBill Nottingham <notting@redhat.com>2000-06-20 07:27:42 +0000
commit18faa6b74f3d4ee0188e4709b31cd810e8dec0ca (patch)
tree3b9b029d696598b0cd19a347f610d127a94dc170 /isys
parenta2ab5eae038c97e15376cbd43112e30a27c89ffa (diff)
downloadanaconda-18faa6b74f3d4ee0188e4709b31cd810e8dec0ca.tar.gz
anaconda-18faa6b74f3d4ee0188e4709b31cd810e8dec0ca.tar.xz
anaconda-18faa6b74f3d4ee0188e4709b31cd810e8dec0ca.zip
typo
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.c b/isys/isys.c
index f417325a0..c4712cb6b 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -768,7 +768,7 @@ static PyObject * doConfigNetDevice(PyObject * s, PyObject * args) {
if (!PyArg_ParseTuple(args, "ssss", &dev, &ip, &netmask, &gateway))
return NULL;
- memset(device,'\0',sizeof(struct pumpNetIntf));
+ memset(&device,'\0',sizeof(struct pumpNetIntf));
strncpy(device.device, dev, sizeof(device.device) - 1);
device.ip.s_addr = inet_addr(ip);
device.netmask.s_addr = inet_addr(netmask);