Fixed spacing and unbalanced brackets or parenthesis.
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index c9cf137..dd492bb 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -453,7 +453,7 @@
 MS \cfunction{_commit()} function.
 
 If you're starting with a Python file object \var{f}, first do
-\code{\var{f}.flush()}, and then do \code{os.fsync(\var{f}.fileno()},
+\code{\var{f}.flush()}, and then do \code{os.fsync(\var{f}.fileno())},
 to ensure that all internal buffers associated with \var{f} are written
 to disk.
 Availability: \UNIX, and Windows starting in 2.2.3.
@@ -884,7 +884,7 @@
 \member{st_mode} (protection bits),
 \member{st_ino} (inode number),
 \member{st_dev} (device),
-\member{st_nlink} (number of hard links,
+\member{st_nlink} (number of hard links),
 \member{st_uid} (user ID of owner),
 \member{st_gid} (group ID of owner),
 \member{st_size} (size of file, in bytes),