summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ipc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/ipc.cc')
-rw-r--r--winsup/cygwin/ipc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/ipc.cc b/winsup/cygwin/ipc.cc
index 192a124d5..333eca5b3 100644
--- a/winsup/cygwin/ipc.cc
+++ b/winsup/cygwin/ipc.cc
@@ -27,11 +27,11 @@ ftok(const char *path, int id)
/* stat set the appropriate errno for us */
return (key_t) -1;
}
-
- /* dev_t is short for cygwin
+
+ /* dev_t is short for cygwin
* ino_t is long for cygwin
* and we need 8 bits for the id.
- * thus key_t is long long.
+ * thus key_t is long long.
*/
return ((long long) statbuf.st_dev << (5*8)) | (statbuf.st_ino << (8) ) | (id & 0x00ff);
}