mirror of https://gitee.com/openkylin/aalib.git
[PATCH] Fix linux_init()
Patch by Joey Hess <joeyh@debian.org> 21 May 2001 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97695 Gbp-Pq: Name 0004-Fix-linux_init.patch
This commit is contained in:
parent
1011883d9f
commit
7553cbb302
|
@ -91,7 +91,7 @@ linux_init (__AA_CONST struct aa_hardware_params *p, __AA_CONST void *none,
|
|||
sprintf (fname, "/dev/vcsa%i", vt);
|
||||
vc[0] = fopen (fname, "w+");
|
||||
if (vc[0] == NULL)
|
||||
vc[0] = fopen (tmp, "w"), readonly = 1;
|
||||
vc[0] = fopen (fname, "w"), readonly = 1;
|
||||
nvcs = 1;
|
||||
}
|
||||
if (vc[0] == NULL)
|
||||
|
|
Loading…
Reference in New Issue