Changeset 11567 in vbox for trunk/src/VBox/Additions/linux/sharedfolders
- Timestamp:
- Aug 22, 2008 10:05:28 AM (16 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c
r11545 r11567 349 349 if (size > 0) 350 350 { 351 memset (buf, size, 0);351 memset (buf, 0, size); 352 352 free (buf); 353 353 } … … 359 359 if (size > 0) 360 360 { 361 memset (buf, size, 0);361 memset (buf, 0, size); 362 362 free (buf); 363 363 } -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r11512 r11567 84 84 } 85 85 86 memset(sf_g, sizeof(*sf_g), 0);86 memset(sf_g, 0, sizeof(*sf_g)); 87 87 88 88 if ( info->nullchar != '\0' … … 97 97 98 98 info = &info_compat; 99 memset(info, sizeof(*info), 0);99 memset(info, 0, sizeof(*info)); 100 100 memcpy(&info->name, &info_old->name, MAX_HOST_NAME); 101 101 memcpy(&info->nls_name, &info_old->nls_name, MAX_NLS_NAME);
Note:
See TracChangeset
for help on using the changeset viewer.