Substitute ARGSTR in-place.

Forgot trailing newline in usage().
This commit is contained in:
Ruslan Ermilov 2001-08-15 15:24:08 +00:00
parent d143364652
commit bf1bf89163

View File

@ -93,8 +93,6 @@ static const char rcsid[] =
} \
} while (0)
#define ARGSTR "-flmc:"
enum tristate { UNSET, YES, NO };
static pam_handle_t *pamh = NULL;
@ -129,7 +127,7 @@ main(int argc, char *argv[])
user = "root";
iscsh = UNSET;
while ((ch = getopt(argc, argv, ARGSTR)) != -1)
while ((ch = getopt(argc, argv, "-flmc:")) != -1)
switch ((char)ch) {
case 'f':
fastlogin = 1;
@ -442,7 +440,8 @@ static void
usage(void)
{
(void)fprintf(stderr, "usage: su [-] [-flm] [-c class] [login [args]]");
(void)fprintf(stderr,
"usage: su [-] [-flm] [-c class] [login [args]]\n");
exit(1);
}