]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fix comments
authorSamanta Navarro <ferivoz@riseup.net>
Thu, 16 Feb 2023 11:57:03 +0000 (11:57 +0000)
committerSerge Hallyn <serge@hallyn.com>
Thu, 16 Feb 2023 19:23:08 +0000 (13:23 -0600)
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 <ferivoz@riseup.net>
libmisc/xgetXXbyYY.c
libmisc/xgetgrgid.c
libmisc/xgetgrnam.c
libmisc/xgetpwuid.c
libmisc/xgetspnam.c

index a9d9290ce0815e4dd39d38f7e3c2475b1d50898f..27ff241276e0de88aec4746ea495bd7dc7fa0cce 100644 (file)
@@ -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 <unistd.h>
index b83f9aa1e5eda962be7c3d5fd604e8d7f18ec033..6419196678f5e4467a44327f2102586da8f7672c 100644 (file)
@@ -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 <config.h>
index c4dcbc886bfbd3df1c789fead493b04b7d42a997..35ad9ee9cb124dbc152e03a1b48fa113d4c604fd 100644 (file)
@@ -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 <config.h>
index 9f66e2fcae9d6876d57d8a835744b63a613329dd..d663a4298f59e951552bf702f36729ecc1ac8459 100644 (file)
@@ -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 <config.h>
index cf848635253ca233ff965c88a14a53f5880b5d72..ebda94ba31b1d231e29125374135281ca6bd221c 100644 (file)
@@ -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 <config.h>