cast away compiler warning message.
This commit is contained in:
parent
67f034415c
commit
ec73f57f05
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
/*static char sccsid[] = "from: @(#)system.c 5.10 (Berkeley) 2/23/91";*/
|
||||
static char rcsid[] = "$Id: system.c,v 1.5 1993/08/20 23:00:46 jtc Exp $";
|
||||
static char rcsid[] = "$Id: system.c,v 1.6 1993/08/20 23:40:43 jtc Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -53,7 +53,7 @@ system(command)
|
|||
sig_t intsave, quitsave;
|
||||
int omask;
|
||||
int pstat;
|
||||
char *argp[] = {"sh", "-c", command, NULL};
|
||||
char *argp[] = {"sh", "-c", (char *) command, NULL};
|
||||
|
||||
if (!command) /* just checking... */
|
||||
return(1);
|
||||
|
|
Loading…
Reference in New Issue