Changeset aca1777 in mainline for uspace/app/blkdump/blkdump.c
- Timestamp:
- 2025-05-08T17:12:05Z (3 months ago)
- Children:
- 2f21cd4
- Parents:
- 1cfce3f (diff), 61f28c4 (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/blkdump/blkdump.c
r1cfce3f raca1777 95 95 } 96 96 97 if ( str_cmp(*argv, "--offset") == 0) {97 if (*argv && str_cmp(*argv, "--offset") == 0) { 98 98 --argc; 99 99 ++argv; … … 115 115 } 116 116 117 if ( str_cmp(*argv, "--count") == 0) {117 if (*argv && str_cmp(*argv, "--count") == 0) { 118 118 --argc; 119 119 ++argv; … … 136 136 137 137 devname: 138 if (*argv == NULL) { 139 printf(NAME ": Error, argument missing (device_name).\n"); 140 syntax_print(); 141 return 1; 142 } 143 138 144 if (argc != 1) { 139 145 printf(NAME ": Error, unexpected argument.\n");
Note:
See TracChangeset
for help on using the changeset viewer.