Ticket #10256: 0001-fix-argument-count-mismatch.2.patch

File 0001-fix-argument-count-mismatch.2.patch, 844 bytes (added by Freeman, 6 years ago)
  • src/bin/network/arp/arp.cpp

    From 7d380d5b367e4e8ead57b5c162c96905c9c13525 Mon Sep 17 00:00:00 2001
    From: Freeman Lou <freemanlou2430@Yahoo.com>
    Date: Wed, 27 Nov 2013 01:12:52 +0000
    Subject: [PATCH] fix argument count mismatch
    
    ---
     src/bin/network/arp/arp.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/bin/network/arp/arp.cpp b/src/bin/network/arp/arp.cpp
    index 1e41394..dfabef0 100644
    a b set_entries_from_file(const char *filename) 
    285285                continue;
    286286            }
    287287            if (host->h_addrtype != AF_INET) {
    288                 fprintf(stderr, "%s: Line " B_PRId32 ", host \"%s\" is not known in the IPv4 domain.\n",
     288                fprintf(stderr, "%s: Line %" B_PRId32 ", host \"%s\" is not known in the IPv4 domain.\n",
    289289                    kProgramName, counter, argument);
    290290                continue;
    291291            }