diff options
Diffstat (limited to 'archival/tar.c')
-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 adcedf6..bcbb7a9 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -417,11 +417,11 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, header_name = fileName; while (header_name[0] == '/') { - static int alreadyWarned = FALSE; + static smallint warned; - if (alreadyWarned == FALSE) { + if (!warned) { bb_error_msg("removing leading '/' from member names"); - alreadyWarned = TRUE; + warned = 1; } header_name++; } |