[libvirt] [PATCH] Spell TIOCSCTTY right in the error message

Ján Tomko jtomko at redhat.com
Thu Oct 30 16:19:04 UTC 2014


---
 src/lxc/lxc_container.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Pushed as trivial.

diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index 2af2674..f02b959 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -281,7 +281,7 @@ static int lxcContainerSetupFDs(int *ttyfd,
 
     if (ioctl(*ttyfd, TIOCSCTTY, NULL) < 0) {
         virReportSystemError(errno, "%s",
-                             _("ioctl(TIOCSTTY) failed"));
+                             _("ioctl(TIOCSCTTY) failed"));
         goto cleanup;
     }
 
-- 
2.0.4




More information about the libvir-list mailing list