From ea32924c626b828b3752c021362a6e0e7f79885c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 6 Feb 2012 22:12:11 -0600 Subject: Fix a handful of comment typos or misspellings Signed-off-by: Dan McGee --- src/pacman/pacman.c | 10 ++++++---- src/pacman/util.c | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src') 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 * -- cgit v1.2.3