mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
dtc: Trivial formatting fixes
This patch fixes some trivial indentation and brace/bracket style problems.
This commit is contained in:
parent
6a6c972cdf
commit
c26015443a
1 changed files with 3 additions and 4 deletions
7
dtc.c
7
dtc.c
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue