From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 16 May 2008 13:22:35 +1000 From: David Gibson To: Jon Loeliger Subject: dtc: Trivial formatting fixes [resend] Message-ID: <20080516032235.GE775@yookeroo.seuss> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This patch fixes some trivial indentation and brace/bracket style problems. --- dtc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) Index: dtc/dtc.c =================================================================== --- dtc.orig/dtc.c 2008-03-26 16:18:51.000000000 +1100 +++ dtc/dtc.c 2008-03-26 16:19:12.000000000 +1100 @@ -163,8 +163,8 @@ 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(); @@ -179,9 +179,8 @@ 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); -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev