Red Hat Bugzilla – Bug 129393
Genromfs uses getopt() improperly
Last modified: 2007-11-30 17:10:47 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7)
Description of problem:
Genromfs does not execute properly on my PowerPC-based system. The
getopt function returns an int. However, in genromfs.c the value
returned by getopt is assigned to a variable of type char.
Changing "char c;" to "int c;" fixes things.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Try to run genromfs and notice that it does not execute properly.
Further inspection determines that the problem is in genromfs's option
Fixed by upgrading to 0.5.1.