aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-18 00:00:52 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-18 00:00:52 +0000
commita6c752201e9031b51a6d89349f1cec1f690f56ef (patch)
tree808a54e0dc112d8b32326ccdb411e4300dc65d76 /utility.c
parent91e581fa0438b39ceb0ffb4ddcb90ee4d260ae81 (diff)
downloadbusybox-w32-a6c752201e9031b51a6d89349f1cec1f690f56ef.tar.gz
busybox-w32-a6c752201e9031b51a6d89349f1cec1f690f56ef.tar.bz2
busybox-w32-a6c752201e9031b51a6d89349f1cec1f690f56ef.zip
Updates
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 42b8dc1e9..571d1f5e2 100644
--- a/utility.c
+++ b/utility.c
@@ -1364,7 +1364,8 @@ extern pid_t* findPidByName( char* pidName)
1364 pidList[i++]=strtol(next->d_name, NULL, 0); 1364 pidList[i++]=strtol(next->d_name, NULL, 0);
1365 } 1365 }
1366 } 1366 }
1367 pidList[i]=0; 1367 if (pidList!=NULL)
1368 pidList[i]=0;
1368 return pidList; 1369 return pidList;
1369} 1370}
1370#endif /* BB_FEATURE_USE_DEVPS_PATCH */ 1371#endif /* BB_FEATURE_USE_DEVPS_PATCH */