Logo Search packages:      
Sourcecode: tardy version File versions  Download package

void tar_input::warning ( char *  fmt,
  ... 
) const [inherited]

The warning method is used to print a warning message.

Definition at line 54 of file input.cc.

References tar_input::filename().

Referenced by tar_input_filename::read_data().

{
      va_list ap;
      va_start(ap, fmt);
      char buffer[2000];
      vsnprintf(buffer, sizeof(buffer), fmt, ap);
      va_end(ap);
      const char *s = filename();
      ::error("%s: warning: %s", s, buffer);
}


Generated by  Doxygen 1.6.0   Back to index