diff options
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) | |||
| 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 */ |
