]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fixup a comment in missing/asprintf.c. [skip ci]
authorDenis Ovsienko <[email protected]>
Sun, 19 Feb 2023 22:41:15 +0000 (22:41 +0000)
committerDenis Ovsienko <[email protected]>
Sun, 19 Feb 2023 22:41:15 +0000 (22:41 +0000)
missing/asprintf.c

index b65310e1db2135164c9be5c5bdc253efa6b47bd4..8891bbf79f9a86186a01dbd38d28a1e44fe8c0e7 100644 (file)
@@ -21,7 +21,7 @@ pcap_vasprintf(char **strp, const char *format, va_list args)
 
        /*
         * XXX - the C99 standard says, in section 7.19.6.5 "The
-        * nprintf function":
+        * snprintf function":
         *
         *    The snprintf function is equivalent to fprintf, except that
         *    the output is written into an array (specified by argument s)