]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ports/winnt/instsrv/instsrv.c(addSourceToRegistry) prefix use of snprintf with _...
authorBrian Inglis <bwi@ntp.org>
Wed, 8 Mar 2017 21:51:39 +0000 (21:51 +0000)
committerBrian Inglis <bwi@ntp.org>
Wed, 8 Mar 2017 21:51:39 +0000 (21:51 +0000)
bk: 58c07cebrE11G_drZ6Rx-03gMsQowA

ports/winnt/instsrv/instsrv.c

index 3487c218ed60ded55a69b19388f324df9ce044be..4d92c9b9d7e12f8e175224c9df4d9ccbaf9fdd0f 100644 (file)
@@ -295,7 +295,7 @@ addSourceToRegistry(
        to the new subkey.
     */
 
-    rc = snprintf(regarray, sizeof(regarray), "%s%s",
+    rc = _snprintf(regarray, sizeof(regarray), "%s%s",
                   "SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\",
                   pszAppname);
     if (rc < 0 || rc >= sizeof(regarray)) {