dtc: Trivial formatting fixes

This patch fixes some trivial indentation and brace/bracket style
problems.
This commit is contained in:
David Gibson 2008-05-16 13:22:35 +10:00 committed by Jon Loeliger
parent 6a6c972cdf
commit c26015443a

7
dtc.c
View file

@ -164,8 +164,8 @@ int main(int argc, char *argv[])
boot_cpuid_phys = strtol(optarg, NULL, 0); boot_cpuid_phys = strtol(optarg, NULL, 0);
break; break;
case 'v': case 'v':
printf("Version: %s\n", DTC_VERSION); printf("Version: %s\n", DTC_VERSION);
exit(0); exit(0);
case 'h': case 'h':
default: default:
usage(); usage();
@ -180,9 +180,8 @@ int main(int argc, char *argv[])
arg = argv[optind]; arg = argv[optind];
/* minsize and padsize are mutually exclusive */ /* minsize and padsize are mutually exclusive */
if ((minsize) && (padsize)) { if (minsize && padsize)
die("Can't set both -p and -S\n"); die("Can't set both -p and -S\n");
}
fprintf(stderr, "DTC: %s->%s on file \"%s\"\n", fprintf(stderr, "DTC: %s->%s on file \"%s\"\n",
inform, outform, arg); inform, outform, arg);