From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I just tried to compile package autofs-3.1.7-33 from Redhat 8.0 The compiler said parse_sun.c:467: warning: too few arguments for format Here is an untested patch to shut up the compiler *** ./modules/parse_sun.c.old 2003-01-04 14:30:56.000000000 +0000 --- ./modules/parse_sun.c 2003-01-04 14:32:03.000000000 +0000 *************** *** 464,470 **** if ( !strncmp(q, "fstype=", 7) ) { fstype = alloca(strlen(q+7)+1); if ( !fstype ) { ! syslog(LOG_ERR, MODPREFIX "alloca: %s"); return 1; } strcpy(fstype, q+7); --- 464,470 ---- if ( !strncmp(q, "fstype=", 7) ) { fstype = alloca(strlen(q+7)+1); if ( !fstype ) { ! syslog(LOG_ERR, MODPREFIX "alloca: %s", ""); return 1; } strcpy(fstype, q+7); Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile with compiler that checks printf format strings 2. 3. Additional info
*** Bug 110694 has been marked as a duplicate of this bug. ***