fix oshelp fcntl_setfd_cloexec typo
PATCH 1/1 fix oshelp fcntl_setfd_cloexec typo
This patch fixes a oshelp fcntl_setfd_cloexec typo.
Ian, please confirm.
Signed-off-by Zhigang Wang <[email protected]>
zhigang
tools/python/xen/util/oshelp.py +1 -1
@@ -5,7 +5,7 @@ def fcntl_setfd_cloexec(file, bool): f = fcntl.fcntl(file, fcntl.F_GETFD) if bool: f |= fcntl.FD_CLOEXEC else: f &= ~fcntl.FD_CLOEXEC - fcntl.fcntl(file, fcntl.F_SETFD) + fcntl.fcntl(file, fcntl.F_SETFD, f) def waitstatus_description(st): if os.WIFEXITED(st):
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Zhigang Wang writes ("[PATCH]fix oshelp fcntl_setfd_cloexec typo"):
Quoted 3 lines
This patch fixes a oshelp
fcntl_setfd_cloexectypo.Ian, please confirm.
Yes. Sorry about that.
Quoted 1 line
Signed-off-by Zhigang Wang <[email protected]>
Reviewed-by Ian Jackson <[email protected]>
Ian.