From 6685822e575797b1e38a1e9364b72bb6bca2f52f Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Wed, 16 Sep 2009 21:22:11 +0200 Subject: Strndup usage and small typo fix ./src/pacman/package.c: - small typo fix ./src/pacman/pacman.c: - strdup is changed to strndup, because it's safer like in case of config option Signed-off-by: Laszlo Papp Signed-off-by: Dan McGee --- src/pacman/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/package.c') diff --git a/src/pacman/package.c b/src/pacman/package.c index 328d5bf6..3b145164 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -84,7 +84,7 @@ void dump_pkg_full(pmpkg_t *pkg, int level) } if(level>0) { - /* compute this here so we don't get a puase in the middle of output */ + /* compute this here so we don't get a pause in the middle of output */ requiredby = alpm_pkg_compute_requiredby(pkg); } -- cgit v1.2.3