ntdll: Change default COM device for FreeBSD 8.0.

This commit is contained in:
André Hentschel 2012-06-02 18:54:49 +02:00 committed by Alexandre Julliard
parent 1748f0de4e
commit 1b1af34173
1 changed files with 2 additions and 2 deletions

View File

@ -314,10 +314,10 @@ static char *get_default_com_device( int num )
ret[strlen(ret) - 1] = '0' + num - 1;
}
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
ret = RtlAllocateHeap( GetProcessHeap(), 0, sizeof("/dev/cuad0") );
ret = RtlAllocateHeap( GetProcessHeap(), 0, sizeof("/dev/cuau0") );
if (ret)
{
strcpy( ret, "/dev/cuad0" );
strcpy( ret, "/dev/cuau0" );
ret[strlen(ret) - 1] = '0' + num - 1;
}
#elif defined(__DragonFly__)