diff options
author | Erik Andersen | 2000-04-18 00:00:52 +0000 |
---|---|---|
committer | Erik Andersen | 2000-04-18 00:00:52 +0000 |
commit | a6c752201e9031b51a6d89349f1cec1f690f56ef (patch) | |
tree | 808a54e0dc112d8b32326ccdb411e4300dc65d76 /utility.c | |
parent | 91e581fa0438b39ceb0ffb4ddcb90ee4d260ae81 (diff) | |
download | busybox-a6c752201e9031b51a6d89349f1cec1f690f56ef.zip busybox-a6c752201e9031b51a6d89349f1cec1f690f56ef.tar.gz |
Updates
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1364,7 +1364,8 @@ extern pid_t* findPidByName( char* pidName) pidList[i++]=strtol(next->d_name, NULL, 0); } } - pidList[i]=0; + if (pidList!=NULL) + pidList[i]=0; return pidList; } #endif /* BB_FEATURE_USE_DEVPS_PATCH */ |