aboutsummaryrefslogtreecommitdiff
path: root/dtc.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-05-16 13:22:35 +1000
committerJon Loeliger <jdl@jdl.com>2008-05-19 14:11:03 -0500
commitc26015443acaefe0780a3209932e5534cd84a330 (patch)
tree89bc8920fa681b516f8f2f41ba4a9e8d998d45c8 /dtc.c
parent6a6c972cdf9e608435777dbdab02197b5c5ca759 (diff)
downloaddtc-c26015443acaefe0780a3209932e5534cd84a330.tar.gz
dtc: Trivial formatting fixes
This patch fixes some trivial indentation and brace/bracket style problems.
Diffstat (limited to 'dtc.c')
-rw-r--r--dtc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/dtc.c b/dtc.c
index 6d67c9a..9b0164c 100644
--- a/dtc.c
+++ b/dtc.c
@@ -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);