]> git.tuebingen.mpg.de Git - adu.git/commitdiff
Assorted typo fixes in comments.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jan 2015 17:51:03 +0000 (17:51 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jan 2015 17:51:03 +0000 (17:51 +0000)
gcc-compat.h
string.c
user.c

index 37a486b640c91e3e4568bb5aed9b4266c789cdaf..2ead2e7404f82ae5cddac2c1a40881f2a1c8b2e2 100644 (file)
@@ -20,7 +20,7 @@
  * If not all the functions (handlers) use all arguments, gcc will print
  * a warning.
  *
- * Marking those few unused function parameters with \p __a_unused to supress
+ * Marking those few unused function parameters with \p __a_unused to suppress
  * the gcc warnings allows us to get a clean build _and_ the benefit of the
  * warning in other cases where we do care about unused parameters.
  */
index f0524004b1252c4449b0ffe3d29042662735f58e..fb23d93b29081eb549e4112d0c60f2600c93e9ed 100644 (file)
--- a/string.c
+++ b/string.c
@@ -220,7 +220,7 @@ __must_check int atoi64(const char *str, int64_t *result)
  * \param argv_ptr Pointer to the list of substrings.
  * \param delim Delimiter.
  *
- * This function modifies \a args by replacing each occurance of \a delim by
+ * This function modifies \a args by replacing each occurrence of \a delim by
  * zero. A \p NULL terminated array of pointers to char* is allocated dynamically
  * and these pointers are initialized to point to the broken-up substrings
  * within \a args. A pointer to this array is returned via \a argv_ptr.
diff --git a/user.c b/user.c
index 29dd58bfb0af952e1278e7c6ad388d088de993ab..a1513a4cd6ffbc6f96ab7d1573c2cc210a7c7703 100644 (file)
--- a/user.c
+++ b/user.c
@@ -44,7 +44,7 @@ enum uid_info_flags {
  *
  * Even users that are not taken into account because of the --uid
  * option occupy a slot in this hash table. This allows to find out
- * quicky whether a uid is admissible. And yes, this has to be fast.
+ * quickly whether a uid is admissible. And yes, this has to be fast.
  */
 static struct user_info *uid_hash_table;
 
@@ -466,7 +466,7 @@ static char *get_uid_list_name(void)
  * \a admissible_uids. If so, it sets the admissible bit for this slot and
  * opens the osl table of the uid.
  *
- * \return Stamdard.
+ * \return Standard.
  */
 int open_admissible_user_tables(struct uid_range *admissible_uids)
 {