[svn-commits] tzafrir: branch linux/tzafrir/sysfs r8693 - /linux/team/tzafrir/sysfs/drivers...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed May 26 08:19:23 CDT 2010
Author: tzafrir
Date: Wed May 26 08:19:21 2010
New Revision: 8693
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8693
Log:
device files without leading zeros:
* Otherwise, user-space scripts need to guess format.
* Also, may be interpreted as octal numbers.
Modified:
linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs-chan.c
Modified: linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs-chan.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs-chan.c?view=diff&rev=8693&r1=8692&r2=8693
==============================================================================
--- linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs-chan.c (original)
+++ linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs-chan.c Wed May 26 08:19:21 2010
@@ -210,7 +210,7 @@
/*
* WARNING: the name cannot be longer than KOBJ_NAME_LEN
*/
- dev_set_name(dev, "dahdi!spans!%03d!%02d", span->spanno, chan->chanpos);
+ dev_set_name(dev, "dahdi!spans!%03d!%d", span->spanno, chan->chanpos);
dev_set_drvdata(dev, chan);
dev->release = chan_release;
res = device_register(dev);
More information about the svn-commits
mailing list