X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fyaboot.c;fp=second%2Fyaboot.c;h=5c8c8ea2310344d081b97473d2c19d64b65c48bd;hp=edb11c19dd02e981000a899467aedf000d3a56d3;hb=1bdc16516d7e67a30fa48a594f91aafff0c5eb46;hpb=8db57acd6472487aa453ff74276c657c46925eac diff --git a/second/yaboot.c b/second/yaboot.c index edb11c1..5c8c8ea 100644 --- a/second/yaboot.c +++ b/second/yaboot.c @@ -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