From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f176.google.com ([209.85.213.176]:37066 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932876AbcECA6L (ORCPT ); Mon, 2 May 2016 20:58:11 -0400 Received: by mail-ig0-f176.google.com with SMTP id s8so7636344ign.0 for ; Mon, 02 May 2016 17:58:11 -0700 (PDT) Date: Mon, 2 May 2016 17:58:21 -0700 From: =?iso-8859-1?Q?J=F6rn?= Engel To: "Michael Kerrisk (man-pages)" Cc: linux-man@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: get_mempolicy(2) type mismatch Message-ID: <20160503005821.GC9613@cork> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: The manpage seems to have the wrong type for "addr". Manpage: int get_mempolicy(int *mode, unsigned long *nodemask, unsigned long maxnode, unsigned long addr, unsigned long flags); /usr/include/numaif.h: extern long get_mempolicy(int *policy, const unsigned long *nmask, unsigned long maxnode, void *addr, int flags); J�rn -- The more any quantitative social indicator is used for social decision-making, the more subject it will be to corruption pressures and the more apt it will be to distort and corrupt the social processes it is intended to monitor. -- Campbell's law