Fix de-selecting of drivers in configure by removing non-portable switch to sed.

Silent some compiler and lint warnings.
This commit is contained in:
mmdolze
2009-11-01 08:32:50 +00:00
parent b197729ad8
commit 362aa05fd2
9 changed files with 23 additions and 10 deletions
+1 -1
View File
@@ -117,6 +117,7 @@ typedef struct imon_private_data {
MODULE_EXPORT int imon_init (Driver *drvthis)
{
PrivateData *p = NULL;
char buf[256];
// Alocate, initialize and store private p
p = (PrivateData *) calloc(1, sizeof(PrivateData));
@@ -130,7 +131,6 @@ MODULE_EXPORT int imon_init (Driver *drvthis)
return -1;
}
char buf[256];
p->imon_fd = -1;
p->width = 0;
p->height = 0;