diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-12-15 03:27:34 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-12-15 03:27:34 +0000 |
commit | 2309830840b9e00a2ccedde16e6dff864e138a13 (patch) | |
tree | 40515118982d9be63fcbf83a6ae9c885e11500b1 /isys/isys.c | |
parent | c0d249d70535e8931c6ee690490f5317d3cd4ce7 (diff) | |
download | anaconda-2309830840b9e00a2ccedde16e6dff864e138a13.tar.gz anaconda-2309830840b9e00a2ccedde16e6dff864e138a13.tar.xz anaconda-2309830840b9e00a2ccedde16e6dff864e138a13.zip |
2006-12-14 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version.
* isys/isys.c (doRaidStart): Raid autorun is dead, fix the build
for now. md is going to be broken until we move to mdadm
Diffstat (limited to 'isys/isys.c')
-rw-r--r-- | isys/isys.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/isys/isys.c b/isys/isys.c index 4e6894c69..d95e97d2a 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -971,10 +971,16 @@ static PyObject * doRaidStart(PyObject * s, PyObject * args) { return NULL; } +#ifdef START_ARRAY if (ioctl(fd, START_ARRAY, (unsigned long) sb.st_rdev)) { PyErr_SetFromErrno(PyExc_SystemError); return NULL; } +#else + PyErr_SetString(PyExc_SystemError, "raidautorun doesn't exist anymore!"); + return NULL; +#endif + Py_INCREF(Py_None); return Py_None; |