diff options
author | Bill Nottingham <notting@redhat.com> | 2004-02-25 20:36:53 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-02-25 20:36:53 +0000 |
commit | b9d0ae05efbdbfad6e180ce2bc0fb7d3564b4b65 (patch) | |
tree | 507cc43109ec6410c3b7ccd11be44dc2621d3c5f /loader2 | |
parent | ae709b5066fb761e8b5a9a8d34b746e7ce779a74 (diff) | |
download | anaconda-b9d0ae05efbdbfad6e180ce2bc0fb7d3564b4b65.tar.gz anaconda-b9d0ae05efbdbfad6e180ce2bc0fb7d3564b4b65.tar.xz anaconda-b9d0ae05efbdbfad6e180ce2bc0fb7d3564b4b65.zip |
duh, i'm a moron (#114299)
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/pcmcia.c | 2 | ||||
-rw-r--r-- | loader2/pcmciatest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/loader2/pcmcia.c b/loader2/pcmcia.c index 8392de1b5..9bcaba3f0 100644 --- a/loader2/pcmcia.c +++ b/loader2/pcmcia.c @@ -159,7 +159,7 @@ int activate_pcmcia_device(struct pcmciaDevice *pdev) { return -1; } - bind = calloc(1, sizeof(struct bind_info_t *)); + bind = calloc(1, sizeof(struct bind_info_t)); strcpy(bind->dev_info,pdev->driver); bind->function = pdev->function; if (ioctl(fd, DS_BIND_REQUEST, bind) == -1) { diff --git a/loader2/pcmciatest.c b/loader2/pcmciatest.c index 95ba60dbc..22dca93d6 100644 --- a/loader2/pcmciatest.c +++ b/loader2/pcmciatest.c @@ -259,7 +259,7 @@ int activate_pcmcia_device(struct pcmciaDevice *pdev) { return -1; } - bind = calloc(1, sizeof(struct bind_info_t *)); + bind = calloc(1, sizeof(struct bind_info_t)); strcpy(bind->dev_info,pdev->driver); bind->function = pdev->function; logMessage("device is %s, function is %d", bind->dev_info, bind->function); |