Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3bbd921 in mainline


Ignore:
Timestamp:
2017-03-19T11:06:56Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
35e81e2
Parents:
61600e7
Message:

Use simple assignment instead of memcpy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_lookup.c

    r61600e7 r3bbd921  
    339339                }
    340340
    341                 memcpy(result, &res, sizeof(vfs_lookup_res_t));
     341                *result = res;
    342342        }
    343343       
Note: See TracChangeset for help on using the changeset viewer.