search for: print_error

Displaying 5 results from an estimated 5 matches for "print_error".

2007 Apr 18
1
[Bridge] [PATCH] [2.6.15.4] Fix has_bridge_parent undefined with CONFIG_NETFILTER_DEBUG
...) db15f4ffe50096ba1585cfa344a440626724cfda diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 0770664..37e085b 100644 - --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -793,9 +793,7 @@ static unsigned int br_nf_post_routing(u #ifdef CONFIG_NETFILTER_DEBUG print_error: if (skb->dev != NULL) { - - printk("[%s]", skb->dev->name); - - if (has_bridge_parent(skb->dev)) - - printk("[%s]", bridge_parent(skb->dev)->name); + printk("[%s][%s]", skb->dev->name, realoutdev->name); } printk(" head:%p, r...
2009 Aug 17
1
two more warning-avoidance patches
...use. Cast *List argument to "(char **)". --- src/generator.ml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generator.ml b/src/generator.ml index ad4c0cb..ac01a98 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -5274,7 +5274,7 @@ static void print_error (guestfs_h *g, void *data, const char *msg) } /* FIXME: nearly identical code appears in fish.c */ -static void print_strings (char const *const *argv) +static void print_strings (char *const *argv) { int argc; @@ -5869,7 +5869,7 @@ and generate_test_command_call ?(expect_error = false) ?te...
2006 Jun 23
5
how can i alter the validations error messages.
hello my name is reynaldo my question is the next. i want change the text of the validations error messages generated by ruby when you don''t wrote properly the data in the form. -- Posted via http://www.ruby-forum.com/.
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
...9..a702fb7 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -5975,7 +5975,7 @@ int main (int argc, char *argv[]) g = guestfs_create (); if (g == NULL) { printf (\"guestfs_create FAILED\\n\"); - exit (1); + exit (EXIT_FAILURE); } guestfs_set_error_handler (g, print_error, NULL); @@ -5986,94 +5986,94 @@ int main (int argc, char *argv[]) fd = open (filename, O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_TRUNC, 0666); if (fd == -1) { perror (filename); - exit (1); + exit (EXIT_FAILURE); } if (lseek (fd, %d, SEEK_SET) == -1) { perror (\"lseek\...
2009 Aug 17
13
total warning-removal for daemon/
The warnings in daemon were aggravating and risky for development (too easy to miss new ones) so I spent some time last week and today working on removing them. The first patch gets us down to almost no warnings with the original -Wall setting. That was by far the hardest part. Once I'd done that, I enabled nearly all of gcc's warnings via gnulib's warnings and manywarnings modules