mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 04:16:54 +00:00
kill a warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@161354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#include <asterisk/compat.h>
|
#include <asterisk/compat.h>
|
||||||
#ifdef SOLARIS
|
#ifdef SOLARIS
|
||||||
@@ -394,7 +395,9 @@ static void rxqcheck (char *dir, char *queue, char *process)
|
|||||||
setenv ("ud16", temp, 1);
|
setenv ("ud16", temp, 1);
|
||||||
}
|
}
|
||||||
/* run the command */
|
/* run the command */
|
||||||
system (process);
|
if (system (process) == -1) {
|
||||||
|
fprintf(stderr, "Failed to fork process '%s'\n", process);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
closedir (d);
|
closedir (d);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user