summaryrefslogtreecommitdiff
path: root/xpp/perl_modules/Dahdi/Xpp.pm
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 16:07:50 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 16:07:50 +0000
commit3b4245ea23aa60842f9dbf5a152ee389d559dbf3 (patch)
treebb95489766707c7ee1e13d9d40c549d4105d1f43 /xpp/perl_modules/Dahdi/Xpp.pm
parentf48e3505473b9be26fa6d71c8437a87abde608f1 (diff)
perl xpp: Support for FXO batter attribute from sysfs (from r5133).
Still falls back to reading the battery status from procfs. Also fixes error message. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5134 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/perl_modules/Dahdi/Xpp.pm')
-rw-r--r--xpp/perl_modules/Dahdi/Xpp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi/Xpp.pm b/xpp/perl_modules/Dahdi/Xpp.pm
index f2811aa..eeb7bcb 100644
--- a/xpp/perl_modules/Dahdi/Xpp.pm
+++ b/xpp/perl_modules/Dahdi/Xpp.pm
@@ -40,7 +40,7 @@ sub xpd_attr_path($$$@) {
unless(-f $file) {
my $procfile = sprintf "/proc/xpp/XBUS-%02d/XPD-%1d%1d/$attr",
$busnum, $unitnum, $subunitnum;
- warn "$0: OLD DRIVER: missing '$file'. Fall back to '$procfile'\n";
+ warn "$0: OLD DRIVER: missing '$file'. Fall back to /proc\n";
$file = $procfile;
}
next unless -f $file;