summaryrefslogtreecommitdiff
path: root/debian/patches/solaris-dev-console.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/solaris-dev-console.patch')
-rw-r--r--debian/patches/solaris-dev-console.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/solaris-dev-console.patch b/debian/patches/solaris-dev-console.patch
index 1c1fd04..29512ed 100644
--- a/debian/patches/solaris-dev-console.patch
+++ b/debian/patches/solaris-dev-console.patch
@@ -21,7 +21,7 @@ Index: screen/tty.sh
- return 0;
+
+ if (lstat(real, &st) || !S_ISCHR(st.st_mode) ||
-+ (st.st_nlink > 1 && strncmp(tty, "/dev/", 5)))
++ (st.st_nlink > 1 && strncmp(real, "/dev/", 5)))
+ rc = -1;
+ else
+ rc = 0;