diff options
author | sam <sam@FreeBSD.org> | 2008-08-02 18:06:27 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-08-02 18:06:27 +0000 |
commit | 1a57b0b9b6bd985b252029106805892f64a45841 (patch) | |
tree | 9752cdc4d9d1e6b0dca08b577fe5ca079f1964a9 /sbin/ifconfig | |
parent | 64e56d4fb393ea97301af62150a4a534afa81492 (diff) | |
download | FreeBSD-src-1a57b0b9b6bd985b252029106805892f64a45841.zip FreeBSD-src-1a57b0b9b6bd985b252029106805892f64a45841.tar.gz |
don't silently exit if the regdomain.xml file is missing
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index 51f4f91..ae8a281 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -185,7 +185,7 @@ getregdata(void) if (rdp == NULL) { rdp = lib80211_alloc_regdata(); if (rdp == NULL) - exit(-1); + errx(-1, "missing or corrupted regdomain database"); } return rdp; } |