Hi! > ret = numa_move_pages(0, TEST_PAGES, pages, NULL, status, 0); > - if (ret != 0) { > + if (ret == -1) { Maybe we should go for (ret < 0) but other than that this looks good. -- Cyril Hrubis chrubis@suse.cz