Changeset 6a7e497 in mainline for uspace/app
- Timestamp:
- 2011-06-02T19:05:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 16b2ea8
- Parents:
- 18626b3 (diff), d030e0c (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. - Location:
- uspace/app
- Files:
-
- 4 edited
-
blkdump/blkdump.c (modified) (3 diffs)
-
bnchmark/bnchmark.c (modified) (1 diff)
-
ext2info/ext2info.c (modified) (2 diffs)
-
testread/testread.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/blkdump/blkdump.c
r18626b3 r6a7e497 202 202 } 203 203 204 / / Print hexadecimal values204 /* Print hexadecimal values */ 205 205 for (pos = 0; pos < length; pos++) { 206 206 if (pos == length/2) { … … 210 210 } 211 211 212 / / pad with spaces if we have less than 16 bytes212 /* Pad with spaces if we have less than 16 bytes */ 213 213 for (pos = length; pos < bytes_per_row; pos++) { 214 214 if (pos == length/2) { … … 218 218 } 219 219 220 / / Print printable characters220 /* Print printable characters */ 221 221 for (pos = 0; pos < length; pos++) { 222 222 if (pos == length/2) { -
uspace/app/bnchmark/bnchmark.c
r18626b3 r6a7e497 210 210 static void syntax_print(void) 211 211 { 212 fprintf(stderr, "syntax: bnchmark<iterations> <test type> <log-str> <path>\n");213 fprintf(stderr, " <iterations> number of times to run a given test ");214 fprintf(stderr, " <test-type> one of: ");215 fprintf(stderr, " sequential-file-read ");216 fprintf(stderr, " sequential-dir-read ");217 fprintf(stderr, " <log-str> a string to attach to results ");218 fprintf(stderr, " <path> file/directory to use for testing ");212 fprintf(stderr, "syntax: " NAME " <iterations> <test type> <log-str> <path>\n"); 213 fprintf(stderr, " <iterations> number of times to run a given test\n"); 214 fprintf(stderr, " <test-type> one of:\n"); 215 fprintf(stderr, " sequential-file-read\n"); 216 fprintf(stderr, " sequential-dir-read\n"); 217 fprintf(stderr, " <log-str> a string to attach to results\n"); 218 fprintf(stderr, " <path> file/directory to use for testing\n"); 219 219 } 220 220 -
uspace/app/ext2info/ext2info.c
r18626b3 r6a7e497 95 95 } 96 96 97 / / Skip program name97 /* Skip program name */ 98 98 --argc; ++argv; 99 99 … … 171 171 assert(argc == 1); 172 172 173 / / Display common things by default173 /* Display common things by default */ 174 174 if ((arg_flags & ARG_ALL) == 0) { 175 175 arg_flags = ARG_COMMON; -
uspace/app/testread/testread.c
r18626b3 r6a7e497 84 84 } 85 85 86 / / Skip program name86 /* Skip program name */ 87 87 --argc; ++argv; 88 88
Note:
See TracChangeset
for help on using the changeset viewer.
