Changeset 6afc9d7 in mainline for uspace/app/bdsh/cmds/modules/mv/mv.c
- Timestamp:
- 2015-10-06T19:01:36Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0328987
- Parents:
- f1f7584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mv/mv.c
rf1f7584 r6afc9d7 60 60 61 61 rc = rename(argv[1], argv[2]); 62 if (rc != EOK) {63 printf("Unable to rename %s to %s ( rc=%d)\n",64 argv[1], argv[2], rc);62 if (rc != 0) { 63 printf("Unable to rename %s to %s (error=%d)\n", 64 argv[1], argv[2], errno); 65 65 return CMD_FAILURE; 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.