Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit 8f9b350

Browse files
committed
logger: run dos2unix for some format issues
Change some dos format to unix Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
1 parent 497acc8 commit 8f9b350

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

logger/logger.c

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ static void print_entry_params(struct dma_log dma_log,
9393
fprintf(stdout, "\n");
9494
}
9595

96-
static void usage(char *name)
97-
{
98-
fprintf(stdout, "Usage %s <file(s)>\n", name);
99-
fprintf(stdout, "%s:\t Parse traces logs\n", name);
100-
fprintf(stdout, "%s:\t -l *.ldc_file\t-d dma_dump_file\n", name);
101-
exit(0);
96+
static void usage(char *name)
97+
{
98+
fprintf(stdout, "Usage %s <file(s)>\n", name);
99+
fprintf(stdout, "%s:\t Parse traces logs\n", name);
100+
fprintf(stdout, "%s:\t -l *.ldc_file\t-d dma_dump_file\n", name);
101+
exit(0);
102102
}
103103

104104

@@ -209,17 +209,17 @@ int main(int argc, char *argv[])
209209
const char *ldc_dir = NULL;
210210
const char *dma_dump = NULL;
211211

212-
while ((opt = getopt(argc, argv, "l:d:")) != -1) {
213-
switch (opt) {
214-
case 'l':
215-
ldc_dir = optarg;
216-
break;
217-
case 'd':
218-
dma_dump = optarg;
219-
break;
220-
default:
221-
usage(argv[0]);
222-
}
212+
while ((opt = getopt(argc, argv, "l:d:")) != -1) {
213+
switch (opt) {
214+
case 'l':
215+
ldc_dir = optarg;
216+
break;
217+
case 'd':
218+
dma_dump = optarg;
219+
break;
220+
default:
221+
usage(argv[0]);
222+
}
223223
}
224224

225225
if (!ldc_dir) {

0 commit comments

Comments
 (0)