mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 16:20:05 +01:00
2006-03-27 Robert Love <rml@novell.com>
Patch by Jürg Billeter <j@bitron.ch>: * src/nm-logging.c: Add printf modifier to fix warning on 64-bit systems. * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h> as we prefer glibc over kernel headers, if possible. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1641 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b3f938f381
commit
dd31354acd
3 changed files with 10 additions and 2 deletions
|
|
@ -1,3 +1,11 @@
|
||||||
|
2006-03-27 Robert Love <rml@novell.com>
|
||||||
|
|
||||||
|
Patch by Jürg Billeter <j@bitron.ch>:
|
||||||
|
* src/nm-logging.c: Add printf modifier to fix warning on 64-bit
|
||||||
|
systems.
|
||||||
|
* src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
|
||||||
|
as we prefer glibc over kernel headers, if possible.
|
||||||
|
|
||||||
2006-03-27 Robert Love <rml@novell.com>
|
2006-03-27 Robert Love <rml@novell.com>
|
||||||
|
|
||||||
Patch by Jon Escombe <list@dresco.co.uk>:
|
Patch by Jon Escombe <list@dresco.co.uk>:
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ fallback_get_backtrace (void)
|
||||||
{
|
{
|
||||||
syslog (LOG_CRIT, "******************* START **********************************");
|
syslog (LOG_CRIT, "******************* START **********************************");
|
||||||
for (i = 0; i < size; i++)
|
for (i = 0; i < size; i++)
|
||||||
syslog (LOG_CRIT, "Frame %d: %s", i, strings[i]);
|
syslog (LOG_CRIT, "Frame %zd: %s", i, strings[i]);
|
||||||
free (strings);
|
free (strings);
|
||||||
syslog (LOG_CRIT, "******************* END **********************************");
|
syslog (LOG_CRIT, "******************* END **********************************");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
#include <linux/rtnetlink.h>
|
#include <linux/rtnetlink.h>
|
||||||
#include <linux/if.h>
|
#include <net/if.h>
|
||||||
#include <linux/unistd.h>
|
#include <linux/unistd.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue