From 0ca57f0d97b6b02b6aa362cd1c2480b418ef0bba Mon Sep 17 00:00:00 2001
From: Kirill Smelkov <kirr@nexedi.com>
Date: Tue, 10 Mar 2020 19:50:02 +0300
Subject: [PATCH] .

---
 wcfs/client/wcfs_watchlink.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wcfs/client/wcfs_watchlink.cpp b/wcfs/client/wcfs_watchlink.cpp
index 7d6b9212..0c2bd2dd 100644
--- a/wcfs/client/wcfs_watchlink.cpp
+++ b/wcfs/client/wcfs_watchlink.cpp
@@ -111,7 +111,7 @@ error _WatchLink::closeWrite() {
         // by wcfs - so ignore errors when sending bye.
         (void)wlink._send(wlink._nextReqID(), "bye");
 
-        // NOTE vvv should be ~ shutdown(TX, wlink._f), however shutdown does
+        // NOTE vvv should be ~ shutdown(wlink._f, SHUT_WR), however shutdown does
         // not work for non-socket file descriptors. And even if we dup link
         // fd, and close only one used for TX, peer's RX will still be blocked
         // as fds are referring to one file object which stays in opened
-- 
2.30.9