repair arguments (add const)
[unix-history] / usr / src / lib / libc / stdio / vsnprintf.c
index 8492da4..348b960 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)vsnprintf.c        5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)vsnprintf.c        5.2 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <stdio.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <stdio.h>
@@ -17,7 +17,7 @@ static char sccsid[] = "@(#)vsnprintf.c       5.1 (Berkeley) %G%";
 vsnprintf(str, n, fmt, ap)
        char *str;
        size_t n;
 vsnprintf(str, n, fmt, ap)
        char *str;
        size_t n;
-       char *fmt;
+       const char *fmt;
        _VA_LIST_ ap;
 {
        int ret;
        _VA_LIST_ ap;
 {
        int ret;