Description of problem: I just tried to compile package amanda-2.4.4p1-1, from Redhat Fedora Core 1. The compiler said 1. tapeio.c(734): warning #165: too few arguments in function call The source code is if((fd = tape_open(devname, O_RDONLY)) < 0) { but int tape_open(filename, mode, mask) char *filename; int mode; int mask; { So we can see there only two parameters are supplied, but three are expected. Suggest also upgrade definition of tape_open from K & R prototype to ISO C prototype. 2. The compiler also said tapeio.c(762): warning #165: too few arguments in function call tapeio.c(792): warning #165: too few arguments in function call tapeio.c(865): warning #165: too few arguments in function call tapeio.c(929): warning #165: too few arguments in function call tapeio.c(983): warning #165: too few arguments in function call tapeio.c(1008): warning #165: too few arguments in function call tapeio.c(762): warning #165: too few arguments in function call tapeio.c(792): warning #165: too few arguments in function call tapeio.c(865): warning #165: too few arguments in function call tapeio.c(929): warning #165: too few arguments in function call tapeio.c(983): warning #165: too few arguments in function call tapeio.c(1008): warning #165: too few arguments in function call These seem to be duplicates. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I can confirm that this bug still exists in the development version of December 21 2004, nearly a year later.
Not going to patch upstream code to quiet a compiler warning rather than fix a bug or error.