aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.pm b/URPM.pm
index 88fb948..ff493c5 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -206,7 +206,7 @@ URPM - Perl module to manipulate RPM files
my $db = URPM::DB::open();
$db->traverse(sub {
my ($package) = @_; # this is a URPM::Package object
- print $package->filename, "\n";
+ print $package->name, "\n";
# ...
});