aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-06-20 21:16:56 +0000
committerBill Nottingham <notting@redhat.com>2001-06-20 21:16:56 +0000
commit3453e77741eb5a9a2950307a8539e993a8870436 (patch)
treeff30d6e3daf024e64cfee0bf9974bf072804ee61 /src/process.c
parent8c83c9d11b620a687673eb1194ebb47223c18b6b (diff)
downloadinitscripts-3453e77741eb5a9a2950307a8539e993a8870436.tar
initscripts-3453e77741eb5a9a2950307a8539e993a8870436.tar.gz
initscripts-3453e77741eb5a9a2950307a8539e993a8870436.tar.bz2
initscripts-3453e77741eb5a9a2950307a8539e993a8870436.tar.xz
initscripts-3453e77741eb5a9a2950307a8539e993a8870436.zip
clean up some compiler warnings
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 4ff805ef..585123c4 100644
--- a/src/process.c
+++ b/src/process.c
@@ -137,7 +137,7 @@ int monitor(char *cmdname, int pid, int numfds, int *fds, int reexec, int quiet,
char **cmdargs=NULL;
char **tmpargs=NULL;
int cmdargc;
- char *procpath;
+ char *procpath = NULL;
if (reexec) {
procpath=malloc(20*sizeof(char));