[libcamera-devel] [PATCH] libcamera: log: Fix two typos.
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Jan 23 16:40:52 CET 2019
Hi Kieran,
Thank you for the patch..
On Wed, Jan 23, 2019 at 02:24:45PM +0000, Kieran Bingham wrote:
> Two incorrect spellings are fixed.
> 'logr' -> 'log'
> 'environement' -> 'environment'
>
> Fixes: 747ace042cc1 ("libcamera: log: Get log levels from the environment")
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> ---
> src/libcamera/log.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp
> index 241dc5395976..dc88414c338a 100644
> --- a/src/libcamera/log.cpp
> +++ b/src/libcamera/log.cpp
> @@ -134,7 +134,7 @@ void Logger::parseLogFile()
> /**
> * \brief Parse the log levels from the environment
> *
> - * The logr levels are stored in LIBCAMERA_LOG_LEVELS environement variable as a list
> + * The log levels are stored in LIBCAMERA_LOG_LEVELS environment variable as a list
While at it, s/in /in the /.
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
I'll push it.
> * of "category=level" pairs, separated by commas (','). Parse the variable and
> * store the levels to configure all log categories.
> */
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list