summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/sys.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm
index 8d671ec3..631c7016 100644
--- a/urpm/sys.pm
+++ b/urpm/sys.pm
@@ -204,7 +204,7 @@ sub need_restart_formatted {
# useful on command-line: perl -Murpm::sys -e 'urpm::sys::print_need_restart'
sub print_need_restart() {
- my $h = need_restart_formatted();
+ my $h = need_restart_formatted('');
print "$_\n" foreach values %$h;
}