vulgatecn / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

typo in PrintAvailability source code #676

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
PrintAvailability should print description and availability, current 
implementation is:

static void PrintAvailability(BOOL var, const char *description) {
  printf("s: %s\n", description, (var ? "Available" : "Not available"));
}

1st parameter of printf has typo in it: "s: %s\n" should be "%s: %s\n"

Original issue reported on code.google.com by ssubbo...@gmail.com on 19 Mar 2015 at 1:33

GoogleCodeExporter commented 9 years ago
Indeed. Thanks for spotting it. I'm going to give you opportunity to submit a 
patch for it.

Original comment by alkondratenko on 21 Mar 2015 at 6:46