Skip to content

Commit 250ae2a

Browse files
authored
Fix Windows related „/dev/null“ device (#1852)
1 parent e316699 commit 250ae2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc/leddevice/dev_other/LedDeviceFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bool LedDeviceFile::init(const QJsonObject &deviceConfig)
3030
#if _WIN32
3131
if (_fileName == "/dev/null" )
3232
{
33-
_fileName = "NULL";
33+
_fileName = "\\\\.\\NUL";
3434
}
3535
#endif
3636

0 commit comments

Comments
 (0)