]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: allow buf_freadchars to report errors
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 10 Sep 2024 16:01:35 +0000 (18:01 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 17 Sep 2024 03:22:39 +0000 (22:22 -0500)
commit6aec79daff6695ee5b0ea750acbc3e5c61b9b8ae
tree27e5eef52985c6a474d7f3e1d06ecda757034c38
parent9dc54a34458922bddf766d2d2643bbb3dffe3282
libkmod: allow buf_freadchars to report errors

The return value is currently not needed. In prepration for subsequent
commits, use the return value to report if errors occurred or not.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/123
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c