diff options
| author | Toomas Soome <tsoome@me.com> | 2017-02-16 02:23:03 +0200 |
|---|---|---|
| committer | Dan McDonald <danmcd@joyent.com> | 2017-06-11 20:24:33 -0400 |
| commit | abedfe964699708e27107aa91adfbbd7d8a6a5b4 (patch) | |
| tree | 25b6e822acd5bc7a80b1a0ed808131fa9f8132eb /usr/src/cmd/luxadm | |
| parent | f600977f942717123ad27ccbe25fcbb5e830ca1b (diff) | |
| download | illumos-joyent-abedfe964699708e27107aa91adfbbd7d8a6a5b4.tar.gz | |
8325 luxadm: misleading-indentation
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/luxadm')
| -rw-r--r-- | usr/src/cmd/luxadm/adm.c | 8 |
1 files 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() */ |
