Changeset dd8ab1c in mainline for uspace/app/bdsh/cmds/modules/mv/mv.c
- Timestamp:
- 2017-12-10T21:08:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68e5406
- Parents:
- 1afa94d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mv/mv.c
r1afa94d rdd8ab1c 30 30 #include <stdlib.h> 31 31 #include <errno.h> 32 #include <str_error.h> 32 33 #include <vfs/vfs.h> 33 34 #include "config.h" … … 62 63 rc = vfs_rename_path(argv[1], argv[2]); 63 64 if (rc != EOK) { 64 printf("Unable to rename %s to %s (error=%d)\n",65 argv[1], argv[2], rc);65 printf("Unable to rename %s to %s: %s)\n", 66 argv[1], argv[2], str_error(rc)); 66 67 return CMD_FAILURE; 67 68 }
Note:
See TracChangeset
for help on using the changeset viewer.