diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-24 08:13:29 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-24 08:13:29 +0000 |
commit | 59dd375fc45918add6098ca1118ae28ddb073778 (patch) | |
tree | 7e48ef4233ab7dced99e87655412d2170cbf3045 /graphics/svgalib | |
parent | 76f9383fbb170364e5fc6d1ebb944426d01c916a (diff) | |
download | ports-59dd375fc45918add6098ca1118ae28ddb073778.tar.gz ports-59dd375fc45918add6098ca1118ae28ddb073778.zip |
Notes
Diffstat (limited to 'graphics/svgalib')
-rw-r--r-- | graphics/svgalib/files/patch-am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/svgalib/files/patch-am b/graphics/svgalib/files/patch-am index 81d8b9504c94..f40bed3091d3 100644 --- a/graphics/svgalib/files/patch-am +++ b/graphics/svgalib/files/patch-am @@ -83,7 +83,7 @@ return 1; /* root can do it always */ #endif - sprintf(fname, "/dev/tty%d", vc); -+ sprintf(fname, "/dev/ttyv%x", vc); ++ sprintf(fname, "/dev/ttyv%x", vc - 1); if ((stat(fname, &sbuf) >= 0) && (getuid() == sbuf.st_uid)) { return 1; } |