summaryrefslogtreecommitdiff
path: root/lib/fs.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-03 21:00:18 +0000
committerjbj <devnull@localhost>2001-05-03 21:00:18 +0000
commitd78e027808deb6aef4e65338d160986d7e576a90 (patch)
tree53cddb260f6b5a0fab362b6c0f6f3375d0cacb8b /lib/fs.c
parent0ecdbba93587408c670124e88d39451c681a77eb (diff)
downloadrpm-d78e027808deb6aef4e65338d160986d7e576a90.tar.gz
rpm-d78e027808deb6aef4e65338d160986d7e576a90.tar.bz2
rpm-d78e027808deb6aef4e65338d160986d7e576a90.zip
- still more boring lclint annotations and fiddles.
CVS patchset: 4738 CVS date: 2001/05/03 21:00:18
Diffstat (limited to 'lib/fs.c')
-rw-r--r--lib/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fs.c b/lib/fs.c
index d7e2ec6f0..2734e220c 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -305,7 +305,7 @@ int rpmGetFilesystemUsage(const char ** fileList, int_32 * fssizes, int numFiles
if (lastDev != sb.st_dev) {
for (j = 0; j < numFilesystems; j++)
- if (filesystems[j].dev == sb.st_dev) break;
+ if (filesystems && filesystems[j].dev == sb.st_dev) break;
if (j == numFilesystems) {
rpmError(RPMERR_BADDEV,