All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Jian <lark@linux.net.cn>
To: netfilter-devel@lists.netfilter.org
Subject: Improve POM error message
Date: Wed, 30 Mar 2005 23:01:55 +0800	[thread overview]
Message-ID: <20050330225916.0198.LARK@linux.net.cn> (raw)

Hi,

Here is a one liner patch agains Netfilter_POM.pm which improves error
message. This patch will give more clear information in the situation
that there are multiple lineadd files for a single file.


Index: Netfilter_POM.pm
===================================================================
--- Netfilter_POM.pm    (revision 3808)
+++ Netfilter_POM.pm    (working copy)
@@ -630,7 +630,7 @@
        close(SRC);
                
        if ($found == 0) {
-               $self->{ERRMSG} .= "unable to find ladd slot in src $srcfile\n";
+               $self->{ERRMSG} .= "unable to find ladd slot in src $srcfile ($laddfile)\n";
                return 0;
        } elsif (!$test && $found == -1) {
                $self->{ERRMSG} .= "unable to find all to-be-removed lines in $srcfile\n";



-- 
  lark

             reply	other threads:[~2005-03-30 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30 15:01 Wang Jian [this message]
2005-04-01  7:05 ` Improve POM error message Harald Welte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050330225916.0198.LARK@linux.net.cn \
    --to=lark@linux.net.cn \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.