Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
ntp
ntp-code-cleanup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ntp-code-cleanup.patch of Package ntp
--- libntp/audio.c.orig 2010-10-21 21:07:20.000000000 +0200 +++ libntp/audio.c 2010-10-21 21:08:23.000000000 +0200 @@ -388,7 +388,7 @@ r = 0 ; /* setting to zero nicely mutes the channel */ #endif l |= r << 8; - if ( cf_agc ) + if ( *cf_agc ) rval = ioctl(ctl_fd, agc, &l); else if (port == 2) { @@ -408,7 +408,7 @@ printf("audio_gain: mongain %d/%d\n", mongain, l); # endif l |= r << 8; - if ( cf_monitor ) + if ( *cf_monitor ) rval = ioctl(ctl_fd, monitor, &l ); else rval = ioctl(ctl_fd, SOUND_MIXER_WRITE_VOLUME, &l); --- parseutil/dcfd.c.orig 2010-10-21 21:08:56.000000000 +0200 +++ parseutil/dcfd.c 2010-10-21 21:09:11.000000000 +0200 @@ -587,7 +587,7 @@ /* * invalid character (no consecutive bit sequence) */ - dprintf(("parse: cvt_rawdcf: character check for 0x%x@%d FAILED\n", *s, s - buffer)); + dprintf(("parse: cvt_rawdcf: character check for 0x%x@%ld FAILED\n", *s, s - buffer)); *s = (unsigned char)~0; rtc = CVT_FAIL|CVT_BADFMT; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor