From owner-svn-src-head@freebsd.org Fri Jul 31 01:37:39 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13D529AE4ED; Fri, 31 Jul 2015 01:37:39 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4B841EEA; Fri, 31 Jul 2015 01:37:38 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by obbop1 with SMTP id op1so43926598obb.2; Thu, 30 Jul 2015 18:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=czFryQkBjykApb9lf9+kt0qHnRJ9umB59ykputGguh0=; b=Iu8/XTMkxo0oXwcwauZigI+CfrDsR8d2xfU30e7odAG5p30XKO9jsJvGL5vxByCJum RZaS/oxkRCswMpnH96fzefT03P0xdljGHdi7Vbn5rlHjay2S1Xy0pwBIKYoBjCWCRvXf 588xnuPnFDHH9KfhyAEl/r6B0JVlJ5JblyovvJ3DesCfD+ZE7NoqVkh7mFNzIoYCNbPJ 4q+XrkjljyFhKPjPjj/VSj+Tk4a8EgI4Z7Wg8rfwM223xS90RcunShP+QlrGzcaPMgml yb4ZKpXr+6lpPqQyOpLO7vbqIo9NCK0kgR4UOk2mjoE5XfPriNvmX6Se7VECEOrBqosG xrXg== MIME-Version: 1.0 X-Received: by 10.60.69.200 with SMTP id g8mr268514oeu.40.1438306658021; Thu, 30 Jul 2015 18:37:38 -0700 (PDT) Received: by 10.202.11.193 with HTTP; Thu, 30 Jul 2015 18:37:37 -0700 (PDT) Reply-To: araujo@FreeBSD.org In-Reply-To: <201507301944.t6UJilqi098925@repo.freebsd.org> References: <201507301944.t6UJilqi098925@repo.freebsd.org> Date: Fri, 31 Jul 2015 09:37:37 +0800 Message-ID: Subject: Re: svn commit: r286093 - head/usr.bin/ipcrm From: Marcelo Araujo To: Craig Rodrigues Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 01:37:39 -0000 2015-07-31 3:44 GMT+08:00 Craig Rodrigues : > Author: rodrigc > Date: Thu Jul 30 19:44:46 2015 > New Revision: 286093 > URL: https://svnweb.freebsd.org/changeset/base/286093 > > Log: > Use correct number of arguments to semctl() for IPC_RMID. > > PR: 118292 > Submitted by: araujo > Differential Revision: D2669 > > Modified: > head/usr.bin/ipcrm/ipcrm.c > > Modified: head/usr.bin/ipcrm/ipcrm.c > > ============================================================================== > --- head/usr.bin/ipcrm/ipcrm.c Thu Jul 30 19:34:24 2015 (r286092) > +++ head/usr.bin/ipcrm/ipcrm.c Thu Jul 30 19:44:46 2015 (r286093) > @@ -169,7 +169,7 @@ semrm(key_t key, int id) > if ((kxsema[num].u.sem_perm.mode & SEM_ALLOC) != > 0) { > id = IXSEQ_TO_IPCID(num, > kxsema[num].u.sem_perm); > - if (semctl(id, IPC_RMID, NULL) < 0) { > + if (semctl(id, 0, IPC_RMID, NULL) < 0) { > if (rmverbose > 1) > warn("semid(%d): ", id); > errflg++; > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" > Nice, thank you very much! All the best. -- -- Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_)