summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm_list.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-11 17:34:34 +0100
committerDan McGee <dan@archlinux.org>2011-02-11 17:34:37 +0100
commit0eac60cd9d478774025a10decce835dea42f9ce4 (patch)
treee2cac2e5c675d2ac02157f9db0fce4ff51c8f667 /lib/libalpm/alpm_list.c
parent06cbb516c35eb81220064878ff202c3107b12c99 (diff)
downloadpacman-0eac60cd9d478774025a10decce835dea42f9ce4.tar.gz
pacman-0eac60cd9d478774025a10decce835dea42f9ce4.tar.xz
Fix mount dir length calculation
In the getmntinfo() section, the local variable mnt doesn't exist; this would have caused a compile error if I had tested the code on such a platform. Unify both codepaths to just run strlen() on the already copied mount path instead. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions