Show
Ignore:
Timestamp:
12/03/08 12:50:37 (5 years ago)
Author:
khali
Message:

Fix insecure dependency in printf.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect-stat.pl

    r5163 r5509  
    44# Statistical analysis of sensors-detect i2c addresses scanner 
    55# Part of the lm_sensors project 
    6 # Copyright (C) 2003-2007  Jean Delvare <khali@linux-fr.org> 
     6# Copyright (C) 2003-2008  Jean Delvare <khali@linux-fr.org> 
    77# 
    88# This program is free software; you can redistribute it and/or modify 
     
    8181 
    8282# Print the data. 
    83 printf "$file knows \%d chips and scans \%d addresses.\n\n", 
    84         $chips, scalar keys %histo; 
     83printf "\%s knows \%d chips and scans \%d addresses.\n\n", 
     84        $file, $chips, scalar keys %histo; 
    8585print "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\n"; 
    8686for (my $i=0; $i<128; $i+=16)