summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/alpm.h6
-rw-r--r--src/pacman/pacman.c10
-rw-r--r--src/pacman/util.c2
3 files changed, 10 insertions, 8 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index a93d4e3e..6df3e1f5 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -313,7 +313,7 @@ typedef enum _alpm_event_t {
ALPM_EVENT_LOAD_START,
/** Target package is finished loading. */
ALPM_EVENT_LOAD_DONE,
- /** Target deltas's integrity will be checked. */
+ /** Target delta's integrity will be checked. */
ALPM_EVENT_DELTA_INTEGRITY_START,
/** Target delta's integrity was checked. */
ALPM_EVENT_DELTA_INTEGRITY_DONE,
@@ -881,7 +881,7 @@ alpm_list_t *alpm_pkg_get_backup(alpm_pkg_t *pkg);
*/
alpm_db_t *alpm_pkg_get_db(alpm_pkg_t *pkg);
-/** Retuns the base64 encoded package signature.
+/** Returns the base64 encoded package signature.
* @param pkg a pointer to package
* @return a reference to an internal string
*/
@@ -1032,7 +1032,7 @@ int alpm_trans_prepare(alpm_handle_t *handle, alpm_list_t **data);
/** Commit a transaction.
* @param handle the context handle
* @param data the address of an alpm_list where detailed description
- * of an error can be dumped (ie. list of conflicting files)
+ * of an error can be dumped (i.e. list of conflicting files)
* @return 0 on success, -1 on error (pm_errno is set accordingly)
*/
int alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data);
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 4c0d69ed..381e0b71 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -726,7 +726,9 @@ static int parseargs(int argc, char *argv[])
return 0;
}
-/** print commandline to logfile
+/** Print command line to logfile.
+ * @param argc
+ * @param argv
*/
static void cl_to_log(int argc, char* argv[])
{
@@ -754,8 +756,8 @@ static void cl_to_log(int argc, char* argv[])
}
/** Main function.
- * @param argc argc
- * @param argv argv
+ * @param argc
+ * @param argv
* @return A return code indicating success, failure, etc.
*/
int main(int argc, char *argv[])
@@ -914,7 +916,7 @@ int main(int argc, char *argv[])
list_display("Targets :", pm_targets);
}
- /* Log commandline */
+ /* Log command line */
if(needs_root()) {
cl_to_log(argc, argv);
}
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 14e6f6b7..0b076d97 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -1005,7 +1005,7 @@ static double simple_pow(int base, int exp)
* @param target_unit '\0' or a short label. If equal to one of the short unit
* labels ('B', 'K', ...) bytes is converted to target_unit; if '\0', the first
* unit which will bring the value to below a threshold of 2048 will be chosen.
- * @param precision number of decimal places, ensures -0.0.0 gets rounded to
+ * @param precision number of decimal places, ensures -0.00 gets rounded to
* 0.00; -1 if no rounding desired
* @param label will be set to the appropriate unit label
*