[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:
Gergely Nagy 2012-06-30 13:12:16 +02:00 committed by openKylinBot
parent 1011883d9f
commit 7553cbb302
1 changed files with 1 additions and 1 deletions

View File

@ -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)