From 7399925b38d4f9793cc95fdd2b097676228c95e7 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Fri, 8 Nov 2013 01:13:12 +0100 Subject: blspec: fix documention of blspec_scan_directory's return code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- common/blspec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/blspec.c') diff --git a/common/blspec.c b/common/blspec.c index 095809b470..2244d5a8a8 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -135,8 +135,7 @@ static int blspec_have_entry(struct blspec *blspec, const char *path) * * Given a root path collects all blspec entries found under /blspec/entries/. * - * returns 0 if at least one entry could be successfully loaded, negative - * error value otherwise. + * returns the number of entries found or a negative error value otherwise. */ int blspec_scan_directory(struct blspec *blspec, const char *root) { -- cgit v1.2.3