OSDN Git Service

libefiboot: Fix efidp_format_device_path()'s limit test.
authorPeter Jones <pjones@redhat.com>
Thu, 25 Feb 2016 19:11:46 +0000 (14:11 -0500)
committerPeter Jones <pjones@redhat.com>
Thu, 25 Feb 2016 20:06:12 +0000 (15:06 -0500)
commit147656d30397d56f632eca66ed9fe6b713bbf209
treea243e91e2cff411a2ff5e007a2f163f5688fc8fa
parent64d118fc3cef87140f613f93eadf076233748d36
libefiboot: Fix efidp_format_device_path()'s limit test.

A limit of 0 means 0, not no limit.  That's why it's ssize_t.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/dp.c