Changeset 5508

Show
Ignore:
Timestamp:
12/03/08 12:34:13 (4 years ago)
Author:
khali
Message:

Fix insecure dependency in printf.

Files:
1 modified

Legend:

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

    r4970 r5508  
    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 
     
    8080 
    8181# Print the data. 
    82 printf "$file knows \%d chips and scans \%d addresses.\n\n", 
    83         $chips, scalar keys %histo; 
     82printf "\%s knows \%d chips and scans \%d addresses.\n\n", 
     83        $file, $chips, scalar keys %histo; 
    8484print "     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\n"; 
    8585for (my $i=0; $i<128; $i+=16)