From: Samanta Navarro Date: Thu, 16 Feb 2023 11:57:03 +0000 (+0000) Subject: Fix comments X-Git-Tag: 4.14.0-rc1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dfeb9e6747bdbd58d0e262fc22947e4e628eefb;p=thirdparty%2Fshadow.git Fix comments These comments should indicate which functions they really wrap. An alternative would be to remove the line completely to avoid future copy&paste mistakes. Signed-off-by: Samanta Navarro --- diff --git a/libmisc/xgetXXbyYY.c b/libmisc/xgetXXbyYY.c index a9d9290ce..27ff24127 100644 --- a/libmisc/xgetXXbyYY.c +++ b/libmisc/xgetXXbyYY.c @@ -23,7 +23,7 @@ * Two important function classes that fall into this category are * getpwnam(3) and syslog(3). * - * This file provides wrapper to the getpwnam or getpwnam_r functions. + * This file provides wrapper to the name or name_r functions. */ #include diff --git a/libmisc/xgetgrgid.c b/libmisc/xgetgrgid.c index b83f9aa1e..641919667 100644 --- a/libmisc/xgetgrgid.c +++ b/libmisc/xgetgrgid.c @@ -23,7 +23,7 @@ * Two important function classes that fall into this category are * getpwnam(3) and syslog(3). * - * This file provides wrapper to the getpwnam or getpwnam_r functions. + * This file provides wrapper to the getgrgid or getgrgid_r functions. */ #include diff --git a/libmisc/xgetgrnam.c b/libmisc/xgetgrnam.c index c4dcbc886..35ad9ee9c 100644 --- a/libmisc/xgetgrnam.c +++ b/libmisc/xgetgrnam.c @@ -23,7 +23,7 @@ * Two important function classes that fall into this category are * getpwnam(3) and syslog(3). * - * This file provides wrapper to the getpwnam or getpwnam_r functions. + * This file provides wrapper to the getgrnam or getgrnam_r functions. */ #include diff --git a/libmisc/xgetpwuid.c b/libmisc/xgetpwuid.c index 9f66e2fca..d663a4298 100644 --- a/libmisc/xgetpwuid.c +++ b/libmisc/xgetpwuid.c @@ -23,7 +23,7 @@ * Two important function classes that fall into this category are * getpwnam(3) and syslog(3). * - * This file provides wrapper to the getpwnam or getpwnam_r functions. + * This file provides wrapper to the getpwuid or getpwuid_r functions. */ #include diff --git a/libmisc/xgetspnam.c b/libmisc/xgetspnam.c index cf8486352..ebda94ba3 100644 --- a/libmisc/xgetspnam.c +++ b/libmisc/xgetspnam.c @@ -23,7 +23,7 @@ * Two important function classes that fall into this category are * getpwnam(3) and syslog(3). * - * This file provides wrapper to the getpwnam or getpwnam_r functions. + * This file provides wrapper to the getspnam or getspnam_r functions. */ #include