From cfcb8d2316c365fa9dac918d767ff55a2df3987c Mon Sep 17 00:00:00 2001 From: visa Date: Sat, 22 Apr 2017 12:34:44 +0000 Subject: [PATCH] Reindent with tabs and add missing braces. --- sys/arch/octeon/octeon/autoconf.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sys/arch/octeon/octeon/autoconf.c b/sys/arch/octeon/octeon/autoconf.c index 7b4434c2449..eb9fd9bc7d4 100644 --- a/sys/arch/octeon/octeon/autoconf.c +++ b/sys/arch/octeon/octeon/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.9 2016/11/26 16:31:32 martijn Exp $ */ +/* $OpenBSD: autoconf.c,v 1.10 2017/04/22 12:34:44 visa Exp $ */ /* * Copyright (c) 2009 Miodrag Vallat. * @@ -84,14 +84,15 @@ parse_uboot_root(void) char *p; size_t len; - /* - * Turn the U-Boot root device (rootdev=/dev/octcf0) into a boot device. - */ - p = strrchr(uboot_rootdev, '/'); - if (p == NULL) - p = strchr(uboot_rootdev, '='); + /* + * Turn the U-Boot root device (rootdev=/dev/octcf0) into a boot device. + */ + p = strrchr(uboot_rootdev, '/'); + if (p == NULL) { + p = strchr(uboot_rootdev, '='); if (p == NULL) return; + } p++; len = strlen(p); -- 2.20.1