diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-21 12:43:45 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-21 12:43:45 +0000 |
commit | 931de892cc1c07ba3ce728cce3e4a64fe59c8444 (patch) | |
tree | d9a2eb0a78971f0556ea28538e1705b203e107ad /archival | |
parent | a80b4a0fa74e7a19881790943d4f58de0411fa58 (diff) | |
download | busybox-w32-931de892cc1c07ba3ce728cce3e4a64fe59c8444.tar.gz busybox-w32-931de892cc1c07ba3ce728cce3e4a64fe59c8444.tar.bz2 busybox-w32-931de892cc1c07ba3ce728cce3e4a64fe59c8444.zip |
random shrinkage of statics, -60 bytes saved
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c index adcedf615..bcbb7a994 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -417,11 +417,11 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, | |||
417 | 417 | ||
418 | header_name = fileName; | 418 | header_name = fileName; |
419 | while (header_name[0] == '/') { | 419 | while (header_name[0] == '/') { |
420 | static int alreadyWarned = FALSE; | 420 | static smallint warned; |
421 | 421 | ||
422 | if (alreadyWarned == FALSE) { | 422 | if (!warned) { |
423 | bb_error_msg("removing leading '/' from member names"); | 423 | bb_error_msg("removing leading '/' from member names"); |
424 | alreadyWarned = TRUE; | 424 | warned = 1; |
425 | } | 425 | } |
426 | header_name++; | 426 | header_name++; |
427 | } | 427 | } |