Changes in uspace/app/bdsh/exec.c [445e7c0:c4a8e4a] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/exec.c

    r445e7c0 rc4a8e4a  
    8383        /* We now have n places to look for the command */
    8484        for (i = 0; search_dir[i] != NULL; i++) {
    85                 memset(found, 0, PATH_MAX);
     85                memset(found, 0, sizeof(found));
    8686                snprintf(found, PATH_MAX, "%s/%s", search_dir[i], cmd);
    8787                if (-1 != try_access(found)) {
Note: See TracChangeset for help on using the changeset viewer.