ntdll: Add default COM device for DragonFly BSD.
This commit is contained in:
parent
1013d2e75c
commit
1748f0de4e
|
@ -320,6 +320,13 @@ static char *get_default_com_device( int num )
|
||||||
strcpy( ret, "/dev/cuad0" );
|
strcpy( ret, "/dev/cuad0" );
|
||||||
ret[strlen(ret) - 1] = '0' + num - 1;
|
ret[strlen(ret) - 1] = '0' + num - 1;
|
||||||
}
|
}
|
||||||
|
#elif defined(__DragonFly__)
|
||||||
|
ret = RtlAllocateHeap( GetProcessHeap(), 0, sizeof("/dev/cuaa0") );
|
||||||
|
if (ret)
|
||||||
|
{
|
||||||
|
strcpy( ret, "/dev/cuaa0" );
|
||||||
|
ret[strlen(ret) - 1] = '0' + num - 1;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
FIXME( "no known default for device com%d\n", num );
|
FIXME( "no known default for device com%d\n", num );
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue