[libcamera-devel,1/2] utils: ipu3-unpack: Fix error string
diff mbox series

Message ID 20220708222838.370187-2-umang.jain@ideasonboard.com
State Accepted
Headers show
Series
  • IPU3 Pack utility
Related show

Commit Message

Umang Jain July 8, 2022, 10:28 p.m. UTC
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
---
 utils/ipu3/ipu3-unpack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart July 9, 2022, 9:45 p.m. UTC | #1
Hi Umang,

Thank you for the patch.

On Sat, Jul 09, 2022 at 03:58:37AM +0530, Umang Jain via libcamera-devel wrote:
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  utils/ipu3/ipu3-unpack.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/ipu3/ipu3-unpack.c b/utils/ipu3/ipu3-unpack.c
> index 2dce1038..9d2c1200 100644
> --- a/utils/ipu3/ipu3-unpack.c
> +++ b/utils/ipu3/ipu3-unpack.c
> @@ -79,7 +79,7 @@ int main(int argc, char *argv[])
>  
>  		ret = write(out_fd, out_data, 50);
>  		if (ret < -1) {
> -			fprintf(stderr, "Failed to read input data: %s\n",
> +			fprintf(stderr, "Failed to write output data: %s\n",
>  				strerror(errno));
>  			goto done;
>  		}

Patch
diff mbox series

diff --git a/utils/ipu3/ipu3-unpack.c b/utils/ipu3/ipu3-unpack.c
index 2dce1038..9d2c1200 100644
--- a/utils/ipu3/ipu3-unpack.c
+++ b/utils/ipu3/ipu3-unpack.c
@@ -79,7 +79,7 @@  int main(int argc, char *argv[])
 
 		ret = write(out_fd, out_data, 50);
 		if (ret < -1) {
-			fprintf(stderr, "Failed to read input data: %s\n",
+			fprintf(stderr, "Failed to write output data: %s\n",
 				strerror(errno));
 			goto done;
 		}