{ char *initrdVal, *end; int i; @@ -3112,10 +3112,10 @@ static char * getInitrdVal(struct grubConfig * config, int addNewKernel(struct grubConfig * config, struct singleEntry * template, const char * prefix, - char * newKernelPath, char * newKernelTitle, - char * newKernelArgs, char * newKernelInitrd, - char ** extraInitrds, int extraInitrdCount, - char * newMBKernel, char * newMBKernelArgs) { + const char * newKernelPath, const char * newKernelTitle, + const char * newKernelArgs, const char * newKernelInitrd, + const char ** extraInitrds, int extraInitrdCount, + const char * newMBKernel, const char * newMBKernelArgs) {
I had to fix up the caller of this to cast extraInitrds to const char **, or else we get a build failure, but otherwise this patch is applied to master now. Please do "make clean all test" before you send patches :) -- Peter _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list