Fix style.
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
{"sha-rounds", required_argument, NULL, 's'},
{NULL, 0, NULL, '\0'}
};
- while ((c = getopt_long (argc, argv,
- "c:ehmR:s:",
- long_options, NULL)) != -1) {
+ while (-1 != (c = getopt_long(argc, argv, "c:ehmR:s:", long_options, NULL)))
+ {
switch (c) {
case 'c':
crypt_method = optarg;
{NULL, 0, NULL, '\0'}
};
- while ((c = getopt_long (argc, argv,
- "c:ehmR:P:s:",
- long_options, NULL)) != -1) {
+ while (-1 != (c = getopt_long(argc, argv, "c:ehmR:P:s:", long_options, NULL)))
+ {
switch (c) {
case 'c':
crypt_method = optarg;