From abedfe964699708e27107aa91adfbbd7d8a6a5b4 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 16 Feb 2017 02:23:03 +0200 Subject: [PATCH] 8325 luxadm: misleading-indentation Reviewed by: Peter Tribble Reviewed by: Gordon Ross Approved by: Dan McDonald --- usr/src/cmd/luxadm/adm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/src/cmd/luxadm/adm.c b/usr/src/cmd/luxadm/adm.c index cb2ad51b43..b8c0253b4f 100644 --- a/usr/src/cmd/luxadm/adm.c +++ b/usr/src/cmd/luxadm/adm.c @@ -405,15 +405,15 @@ static const int EOK = 0; /* errno.h type success return code */ static int getaction(char *cmd, struct keyword *matches, int *retval) { -int actlen; + int actlen; /* Idiot checking of pointers */ if (! cmd || ! matches || ! retval || ! (actlen = strlen(cmd))) /* Is there an cmd ? */ return (EFAULT); - /* Keep looping until NULL match string (end of list) */ - while (matches->match) { + /* Keep looping until NULL match string (end of list) */ + while (matches->match) { /* * Precedence: Make sure target is no longer than * current match string @@ -432,7 +432,7 @@ int actlen; } else { matches++; /* Next match string/struct */ } - } /* End of matches loop */ + } /* End of matches loop */ return (EINVAL); } /* End of getaction() */ -- 2.11.4.GIT