summaryrefslogtreecommitdiffstats
path: root/edd
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-24 16:52:48 +0000
committerMatt Wilson <msw@redhat.com>2000-08-24 16:52:48 +0000
commit7b65aa9e0953a9844d4846f39636a987be65ec85 (patch)
tree2855184a09877f69c51a05eddd4a1dbc0cb3295b /edd
parent34a202de78fd689306eca73796513419c29da986 (diff)
downloadanaconda-7b65aa9e0953a9844d4846f39636a987be65ec85.tar.gz
anaconda-7b65aa9e0953a9844d4846f39636a987be65ec85.tar.xz
anaconda-7b65aa9e0953a9844d4846f39636a987be65ec85.zip
string.h
Diffstat (limited to 'edd')
-rw-r--r--edd/edd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/edd/edd.c b/edd/edd.c
index 0076f0456..e558ea176 100644
--- a/edd/edd.c
+++ b/edd/edd.c
@@ -18,6 +18,7 @@
#include <sys/io.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "lrmi.h"
#include "edd.h"
@@ -116,7 +117,7 @@ edd_supported(int drive)
if (strstr(buf, "lba32")) {
EDDCapability *ec = malloc (sizeof (EDDCapability));
ec->edd = 1;
- return rc;
+ return ec;
}
return NULL;
}