Fix a seg-fault if -l is used without a /dev prefix, e.g. cu -l cuaa0. Of
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 26 Oct 2004 22:10:13 +0000 (22:10 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 26 Oct 2004 22:10:13 +0000 (22:10 +0000)
commit3a4b03bbb380a58322527e268b893da538d2dc16
tree5652d04f4bba5c693e71e0f9d301eeafcd7ddbef
parent65b1133a9364411b20cd91546e016b1e9bb9ac68
Fix a seg-fault if -l is used without a /dev prefix, e.g. cu -l cuaa0.  Of
course, this still fails because -l expects a device path, but at least now
it doesn't seg-fault.

Reported-by: Mark Cullen <mark.cullen@dsl.pipex.com>
usr.bin/tip/tip/hunt.c