summaryrefslogtreecommitdiffstats
path: root/Manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'Manage.c')
-rw-r--r--Manage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Manage.c b/Manage.c
index b3e048e..88e2770 100644
--- a/Manage.c
+++ b/Manage.c
@@ -77,7 +77,6 @@ int Manage_runstop(char *devname, int fd, int runstop)
/* Run or stop the array. array must already be configured
* required >= 0.90.0
*/
- mdu_array_info_t array;
mdu_param_t param; /* unused */
if (runstop == -1 && md_get_version(fd) < 9000) {
@@ -132,7 +131,7 @@ int Manage_subdevs(char *devname, int fd,
struct stat stb;
int i,j;
int save_errno;
- static buf[4096];
+ static char buf[4096];
if (ioctl(fd, GET_ARRAY_INFO, &array)) {
fprintf(stderr, Name ": cannot get array info for %s\n",