system-stats: Use getmntent_r() for thread-safety.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Apr 2013 23:59:15 +0000 (16:59 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 3 May 2013 19:49:39 +0000 (12:49 -0700)
commitffb1cfd1445008a23fdc3276a6f8ecbeaac74279
treeffbcc248ee885431ea13e2454d4bd6992b3377fb
parent9b6937eb1f53e9901f0438b2521b98d24bc047b5
system-stats: Use getmntent_r() for thread-safety.

getmntent_r() is a GNU extension so we test for its existence and just
disable this feature of system stats if it is not present, because this
feature is not very important.

Signed-off-by: Ben Pfaff <blp@nicira.com>
configure.ac
vswitchd/system-stats.c