Changeset 7bdcc45 in mainline for uspace/app/bdsh/cmds/modules/cp/cp.c
- Timestamp:
- 2010-12-16T16:38:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7837101
- Parents:
- 8e58f94 (diff), eb221e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cp/cp.c
r8e58f94 r7bdcc45 95 95 96 96 if (vb) 97 printf("% dbytes to copy\n", total);97 printf("%" PRIu64 " bytes to copy\n", total); 98 98 99 99 lseek(fd1, 0, SEEK_SET); … … 130 130 */ 131 131 if (res != 0) { 132 printf("\n% d more bytes than actually exist were copied\n", res);132 printf("\n%zd more bytes than actually exist were copied\n", res); 133 133 goto err; 134 134 } … … 187 187 return CMD_SUCCESS; 188 188 case 'v': 189 printf("% d\n", CP_VERSION);189 printf("%s\n", CP_VERSION); 190 190 return CMD_SUCCESS; 191 191 case 'V': … … 223 223 224 224 if (verbose) 225 printf("% dbytes copied\n", ret);225 printf("%" PRId64 " bytes copied\n", ret); 226 226 227 227 if (ret >= 0)
Note:
See TracChangeset
for help on using the changeset viewer.