Codebase list sysvinit / 0298b66
Catch null prog pointer Thomas Hood 18 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
377377 int foundone = 0;
378378 int ok = 0;
379379
380 if (! prog)
381 return NULL;
382
380383 /* Get basename of program. */
381384 if ((s = strrchr(prog, '/')) == NULL)
382385 s = prog;