summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r--winsup/cygwin/devices.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc
index 2e36dc85f..6c6960c2f 100644
--- a/winsup/cygwin/devices.cc
+++ b/winsup/cygwin/devices.cc
@@ -142,7 +142,7 @@ const device dev_error_storage =
const _RDATA device dev_storage[] =
{
{"/dev", BRACK(FH_DEV), "/dev", exists, S_IFDIR, false},
- {"/dev/clipboard", BRACK(FH_CLIPBOARD), "/dev/clipboard", exists, S_IFCHR, true},
+ {"/dev/clipboard", BRACK(FH_CLIPBOARD), "\\Device\\Null", exists_ntdev, S_IFCHR, true},
{"/dev/com1", BRACK(FHDEV(DEV_SERIAL_MAJOR, 0)), "\\??\\COM1", exists_ntdev_silent, S_IFCHR, true},
{"/dev/com2", BRACK(FHDEV(DEV_SERIAL_MAJOR, 1)), "\\??\\COM2", exists_ntdev_silent, S_IFCHR, true},
{"/dev/com3", BRACK(FHDEV(DEV_SERIAL_MAJOR, 2)), "\\??\\COM3", exists_ntdev_silent, S_IFCHR, true},