From 895e0a5cb3b4e31ee63a54e342b80a5e441d04b1 Mon Sep 17 00:00:00 2001 From: Piotr Resztak Date: Mon, 30 Aug 2021 23:24:31 +0200 Subject: [PATCH] nsenter: fix typo in bail message Signed-off-by: Piotr Resztak --- libcontainer/nsenter/nsexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c index 23861a846..30b6d5e4a 100644 --- a/libcontainer/nsenter/nsexec.c +++ b/libcontainer/nsenter/nsexec.c @@ -1091,7 +1091,7 @@ void nsexec(void) write_log(DEBUG, "signal completion to stage-0"); s = SYNC_CHILD_FINISH; if (write(syncfd, &s, sizeof(s)) != sizeof(s)) - bail("failed to sync with patent: write(SYNC_CHILD_FINISH)"); + bail("failed to sync with parent: write(SYNC_CHILD_FINISH)"); /* Close sync pipes. */ if (close(sync_grandchild_pipe[0]) < 0)