Changeset 163fc09 in mainline for uspace/app/bdsh/cmds/modules/mv/mv.c
- Timestamp:
- 2017-04-02T11:47:52Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- ce04ea44
- Parents:
- 151f1cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mv/mv.c
r151f1cc r163fc09 30 30 #include <stdlib.h> 31 31 #include <errno.h> 32 #include <vfs/vfs.h> 32 33 #include "config.h" 33 34 #include "util.h" … … 59 60 } 60 61 61 rc = rename(argv[1], argv[2]);62 if (rc != 0) {62 rc = vfs_rename_path(argv[1], argv[2]); 63 if (rc != EOK) { 63 64 printf("Unable to rename %s to %s (error=%d)\n", 64 argv[1], argv[2], errno);65 argv[1], argv[2], rc); 65 66 return CMD_FAILURE; 66 67 }
Note:
See TracChangeset
for help on using the changeset viewer.