summaryrefslogtreecommitdiff
path: root/proc/devname.c
diff options
context:
space:
mode:
authoralbert <>2004-03-17 18:30:10 +0000
committeralbert <>2004-03-17 18:30:10 +0000
commitb8a775d32e6ab6f5a69e9286b579c040babd7939 (patch)
treefdbf4d7ad442199feb36f310992c64af01f2b47e /proc/devname.c
parent2fc41eefa859fbb6a3b10e3e11b15e9487678ada (diff)
downloadprocps-ng-b8a775d32e6ab6f5a69e9286b579c040babd7939.tar.gz
Linux 2.6.4 devices.txt
Diffstat (limited to 'proc/devname.c')
-rw-r--r--proc/devname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/devname.c b/proc/devname.c
index 83dac90..e5defd4 100644
--- a/proc/devname.c
+++ b/proc/devname.c
@@ -164,6 +164,7 @@ static int guess_name(char *restrict const buf, unsigned maj, unsigned min){
t1 = "0123456789abcdef"[tmpmin&0x0f];
sprintf(buf, "/dev/tty%c%c", t0, t1);
break;
+ case 11: sprintf(buf, "/dev/ttyB%d", min); break;
case 17: sprintf(buf, "/dev/ttyH%d", min); break;
case 19: sprintf(buf, "/dev/ttyC%d", min); break;
case 22: sprintf(buf, "/dev/ttyD%d", min); break; /* devices.txt */