Changeset 79ea5af in mainline for uspace/app/bdsh/cmds/modules/cp/cp.c
- Timestamp:
- 2017-03-30T20:47:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 67e881c
- Parents:
- ae7bfbbd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cp/cp.c
rae7bfbbd r79ea5af 236 236 */ 237 237 if (force && !interactive) { 238 if ( unlink(dest_path) != 0) {238 if (vfs_unlink_path(dest_path) != EOK) { 239 239 printf("Unable to remove %s\n", 240 240 dest_path); … … 247 247 if (overwrite) { 248 248 printf("Overwriting file: %s\n", dest_path); 249 if ( unlink(dest_path) != 0) {249 if (vfs_unlink_path(dest_path) != EOK) { 250 250 printf("Unable to remove %s\n", dest_path); 251 251 goto exit;
Note:
See TracChangeset
for help on using the changeset viewer.