[NFC] Fix cpplint warning
authorVitaly Buka <vitalybuka@google.com>
Fri, 23 Apr 2021 02:05:20 +0000 (19:05 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 23 Apr 2021 02:05:20 +0000 (19:05 -0700)
compiler-rt/test/lsan/TestCases/use_globals_unused.cpp

index 78d6260..d2e6b59 100644 (file)
@@ -15,7 +15,7 @@
 #ifdef TEST_LIB
 
 void set(char *a) {
-  strcpy(a, "hello");
+  sprintf(a, "hello");
 }
 
 #else