Commit ca04a5aa authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1032

Removed reference to deprecated function in lieu of toku portability layer.

git-svn-id: file:///svn/toku/tokudb.1032b@8298 c7de825b-a66e-492c-adef-691d508d4ae1
parent 19165401
......@@ -264,7 +264,7 @@ int main (int argc, const char *argv[]) {
#endif
#if defined __linux__ && __linux__
char fname[256];
sprintf(fname, "/proc/%d/status", getpid());
sprintf(fname, "/proc/%d/status", toku_os_getpid());
FILE *f = fopen(fname, "r");
if (f) {
char line[256];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment