diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-05-16 13:22:35 +1000 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2008-05-19 14:11:03 -0500 |
commit | c26015443acaefe0780a3209932e5534cd84a330 (patch) | |
tree | 89bc8920fa681b516f8f2f41ba4a9e8d998d45c8 | |
parent | 6a6c972cdf9e608435777dbdab02197b5c5ca759 (diff) | |
download | dtc-c26015443acaefe0780a3209932e5534cd84a330.zip dtc-c26015443acaefe0780a3209932e5534cd84a330.tar.gz dtc-c26015443acaefe0780a3209932e5534cd84a330.tar.bz2 |
dtc: Trivial formatting fixes
This patch fixes some trivial indentation and brace/bracket style
problems.
-rw-r--r-- | dtc.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -164,8 +164,8 @@ int main(int argc, char *argv[]) boot_cpuid_phys = strtol(optarg, NULL, 0); break; case 'v': - printf("Version: %s\n", DTC_VERSION); - exit(0); + printf("Version: %s\n", DTC_VERSION); + exit(0); case 'h': default: usage(); @@ -180,9 +180,8 @@ int main(int argc, char *argv[]) arg = argv[optind]; /* minsize and padsize are mutually exclusive */ - if ((minsize) && (padsize)) { + if (minsize && padsize) die("Can't set both -p and -S\n"); - } fprintf(stderr, "DTC: %s->%s on file \"%s\"\n", inform, outform, arg); |