From e73a9ed54d476f7bc4b3a560aaa160fd3931f785 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 14 Jan 2002 09:56:49 +0000 Subject: [PATCH] Comment fixes to bring us up to date with respect to POSIX 1003.1-2001. In particular, POSIX.2 is now obsolete. --- src/logname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logname.c b/src/logname.c index 805ef3190..0d3fcf2d3 100644 --- a/src/logname.c +++ b/src/logname.c @@ -88,14 +88,14 @@ main (int argc, char **argv) if (argc - optind != 0) usage (1); - /* POSIX.2 requires using getlogin (or equivalent code). */ + /* POSIX requires using getlogin (or equivalent code). */ cp = getlogin (); if (cp) { puts (cp); exit (0); } - /* POSIX.2 prohibits using a fallback technique. */ + /* POSIX prohibits using a fallback technique. */ fprintf (stderr, _("%s: no login name\n"), argv[0]); exit (1); } -- 2.34.1