mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
815a789b86
PR: ports/177857 Submitted by: Kevin Zheng <kevinz5000@gmail.com> Approved by: Henry Hu <henry.hu.sh@gmail.com> (maintainer)
12 lines
299 B
C++
12 lines
299 B
C++
--- ./Ck.cpp.orig 2012-12-31 07:03:42.000000000 -0600
|
|
+++ ./Ck.cpp 2013-03-23 14:10:35.000000000 -0500
|
|
@@ -91,7 +91,7 @@
|
|
|
|
vt = *((long *)return_value);
|
|
|
|
- std::snprintf(device, 32, "/dev/tty%ld", vt);
|
|
+ snprintf(device, 32, "/dev/ttyv%ld", vt - 1);
|
|
|
|
if(return_value)
|
|
XFree(return_value);
|