]> git.ozlabs.org Git - petitboot/commit
Fix check for null initrd and boot args
authorJeremy Kerr <jk@ozlabs.org>
Mon, 7 Jan 2008 10:50:33 +0000 (21:50 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 7 Jan 2008 10:50:33 +0000 (21:50 +1100)
commit832299e099abcf644fb8a7362a9dd18a6a965871
treee368b3c3fc134b9459b36da1325e79889954f155
parenta57e4ef92b8e590643a325d309511306c5b941a9
Fix check for null initrd and boot args

Because the strings are read from the pb socket, we need to check
for an empty string, not a NULL string.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices.c