diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-11-08 01:13:12 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-08 15:27:58 +0100 |
commit | 7399925b38d4f9793cc95fdd2b097676228c95e7 (patch) | |
tree | da321aef981e4a6ed913f8edd14d93f7229bf1da /common | |
parent | 480782a2659bd14f751d893abeed974443c5976c (diff) | |
download | barebox-7399925b38d4f9793cc95fdd2b097676228c95e7.tar.gz barebox-7399925b38d4f9793cc95fdd2b097676228c95e7.tar.xz |
blspec: fix documention of blspec_scan_directory's return code
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/blspec.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |