]> git.ozlabs.org Git - yaboot.git/blobdiff - second/yaboot.c
Fix incorrect comparision in get_params
[yaboot.git] / second / yaboot.c
index edb11c19dd02e981000a899467aedf000d3a56d3..5c8c8ea2310344d081b97473d2c19d64b65c48bd 100644 (file)
@@ -985,7 +985,7 @@ int get_params(struct boot_param_t* params)
 
            /* check if user seted to use a initrd file from boot console */
            if (!definitrd && p != manualinitrd) {
-               if (manualinitrd[0] != "/" && (prom_get_devtype(defdevice_bak) != FILE_DEVICE_NET)) {
+               if (manualinitrd[0] != '/' && (prom_get_devtype(defdevice_bak) != FILE_DEVICE_NET)) {
                    strcpy(initrdpath, "/");
                    strcat(initrdpath, manualinitrd);
                } else