]> xenbits.xensource.com Git - freebsd.git/commitdiff
ping: fix a string in an error message
authorasomers <asomers@FreeBSD.org>
Wed, 11 Sep 2019 18:08:40 +0000 (18:08 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 11 Sep 2019 18:08:40 +0000 (18:08 +0000)
MFC after: 3 days

sbin/ping/ping.c

index bfa835269da024f11f6a79e13625279fc4457c80..a5ab70fd70c64900ab67152fb1ca3d33414a21b8 100644 (file)
@@ -719,7 +719,7 @@ main(int argc, char *const *argv)
         */
        caph_cache_catpages();
        if (caph_enter_casper() < 0)
-               err(1, "cap_enter");
+               err(1, "caph_enter_casper");
 
        cap_rights_init(&rights, CAP_RECV, CAP_EVENT, CAP_SETSOCKOPT);
        if (caph_rights_limit(srecv, &rights) < 0)