cvs commit: src/sbin/ccdconfig ccdconfig.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Thu Jan 13 23:14:55 PST 2005
joerg 2005/01/13 23:14:15 PST
DragonFly src repository
Modified files:
sbin/ccdconfig ccdconfig.c
Log:
Instead of messing around with sprintf, use asprintf to do the allocation
for us. Don't read before the start of the string, if "" is passed in.
Revision Changes Path
1.6 +10 -13 src/sbin/ccdconfig/ccdconfig.c
http://www.dragonflybsd.org/cvsweb/src/sbin/ccdconfig/ccdconfig.c.diff?r1=1.5&r2=1.6&f=u
More information about the Commits
mailing list