Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-08-02 14:40:04 +1000
committerAllan McRae <allan@archlinux.org>2010-10-13 23:53:18 +1000
commitc56b576f6fef464f82f425219ef386fe8b742899 (patch)
tree89e32abf2a7f017012c6b7c1bae59548378c512e /lib
parentefbae3cfcbd8e401084cb26853bbe46120daea4d (diff)
Fix documentation syntax and typo
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/db.c2
-rw-r--r--lib/libalpm/package.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 7b54a576..b61631a5 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -330,7 +330,7 @@ alpm_list_t SYMEXPORT *alpm_db_search(pmdb_t *db, const alpm_list_t* needles)
return(_alpm_db_search(db, needles));
}
-/* Set install reason for a package in db
+/** Set install reason for a package in db
* @param db pointer to the package database
* @param name the name of the package
* @param reason the new install reason
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 57dc50f2..682ff90c 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -100,7 +100,7 @@ int SYMEXPORT alpm_pkg_checkmd5sum(pmpkg_t *pkg)
/* Default package accessor functions. These will get overridden by any
* backend logic that needs lazy access, such as the local database through
- * a lazy-laod cache. However, the defaults will work just fine for fully-
+ * a lazy-load cache. However, the defaults will work just fine for fully-
* populated package structures. */
const char *_pkg_get_filename(pmpkg_t *pkg) { return pkg->filename; }
const char *_pkg_get_name(pmpkg_t *pkg) { return pkg->name; }