aboutsummaryrefslogtreecommitdiffstats
path: root/x11/slim/files/patch-Ck.cpp
blob: 6eaeca0ab5375f3d1014e99fbc8932bb5fc62c0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Ck.cpp.orig 2012-02-22 03:59:52.000000000 +0400
+++ Ck.cpp  2012-07-19 00:03:34.000000000 +0400
@@ -91,7 +91,7 @@
 
     vt = *((long *)return_value);
 
-    std::snprintf(device, 32, "/dev/tty%ld", vt);
+    std::snprintf(device, 32, "/dev/ttyv%ld", vt - 1);
 
     if(return_value)
       XFree(return_value);