diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-07 05:12:11 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-07 05:12:11 +0100 |
commit | ea32924c626b828b3752c021362a6e0e7f79885c (patch) | |
tree | 4ab6d07100025188f5f4bae54464115fdcb42a51 /src | |
parent | 594524146906a2dfe1ea334a90f88aec24d8833a (diff) | |
download | pacman-ea32924c626b828b3752c021362a6e0e7f79885c.tar.gz pacman-ea32924c626b828b3752c021362a6e0e7f79885c.tar.xz |
Fix a handful of comment typos or misspellings
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 10 | ||||
-rw-r--r-- | src/pacman/util.c | 2 |
2 files changed, 7 insertions, 5 deletions
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 * |