summaryrefslogtreecommitdiff
blob: 3ad3da2a8d80b658f9c93729b7ca015c068a147c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 libMems/dmSML/dmsort.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libMems/dmSML/dmsort.c b/libMems/dmSML/dmsort.c
index 4c99215..2cbfa7e 100644
--- a/libMems/dmSML/dmsort.c
+++ b/libMems/dmSML/dmsort.c
@@ -825,7 +825,7 @@ int InitdmSML( long working_mb, long buffer_size, const char* input_filename, co
 		if ( fgets(buf, sizeof(buf), fp) )
 		{
 			sscanf(buf, "MemTotal: %ld kB", &memTotal);
-			fprintf( stderr, buf );
+			fprintf( stderr, "%s", buf );
 		}
 		fclose(fp);
 		// allocate about 6/10 of physical memory