~cyphermox/+junk/bluez-debug

« back to all changes in this revision

Viewing changes to src/log.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-07-04 13:28:49 UTC
  • mfrom: (1.1.38)
  • Revision ID: package-import@ubuntu.com-20120704132849-tmwu1x7p2vxcclt1
Tags: 4.101-0ubuntu1
* New upstream release
* debian/libbluetooth3.symbols:
  - Updated
* debian/patches/10-unregister_interface_on_exit.patch:
* debian/patches/11-explicitly_close.patch:
* debian/patches/python3.patch:
  - Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        va_end(ap);
45
45
}
46
46
 
 
47
void warn(const char *format, ...)
 
48
{
 
49
        va_list ap;
 
50
 
 
51
        va_start(ap, format);
 
52
 
 
53
        vsyslog(LOG_WARNING, format, ap);
 
54
 
 
55
        va_end(ap);
 
56
}
 
57
 
47
58
void error(const char *format, ...)
48
59
{
49
60
        va_list ap;