Changeset 445e7c0 in mainline for uspace/app/bdsh/exec.c


Ignore:
Timestamp:
2013-06-11T14:18:12Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55edba0
Parents:
136ce60
Message:

C style: fix usage of sizeof(void *)

File:
1 edited

Legend:

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

    r136ce60 r445e7c0  
    8383        /* We now have n places to look for the command */
    8484        for (i = 0; search_dir[i] != NULL; i++) {
    85                 memset(found, 0, sizeof(found));
     85                memset(found, 0, PATH_MAX);
    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.