From: albert <> Date: Wed, 4 Dec 2002 01:59:45 +0000 (+0000) Subject: fixed config parser X-Git-Tag: v3.3.0~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cec50aa831576ede844966c9b441291e08bef473;p=procps-ng fixed config parser --- diff --git a/proc/devname.c b/proc/devname.c index 95b387b8..2b1da274 100644 --- a/proc/devname.c +++ b/proc/devname.c @@ -196,7 +196,7 @@ unsigned dev_to_tty(char *restrict ret, unsigned chop, int dev, int pid, unsigne unsigned i = 0; int c; if((short)dev == (short)0) goto no_tty; - if(linux_version_code > LINUX_VERSION(2, 5, 0)){ /* didn't get done yet */ + if(linux_version_code > LINUX_VERSION(2, 7, 0)){ // not likely to make 2.6.xx if(link_name(tmp, major(dev), minor(dev), pid, "tty" )) goto abbrev; } if(driver_name(tmp, major(dev), minor(dev) )) goto abbrev;