Parent Directory | Revision Log | Patch
revision 18 by dpavlin, Mon Apr 23 18:04:04 2007 UTC | revision 21 by dpavlin, Mon Apr 23 20:49:47 2007 UTC | |
---|---|---|
# | Line 17 read($fh, $b, length($magic)); | Line 17 read($fh, $b, length($magic)); |
17 | die "# $path not a firmware image\n" unless ($b eq $magic); | die "# $path not a firmware image\n" unless ($b eq $magic); |
18 | seek($fh, 32, 0) || die "can't seek to 32: $!"; | seek($fh, 32, 0) || die "can't seek to 32: $!"; |
19 | read($fh, $b, 4); | read($fh, $b, 4); |
20 | print join('.',unpack('CCCC', $b)),"\t$path\n"; | printf("%8s %s\n", join('.',unpack('CCCC', $b)), $path); |
21 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |