From patchwork Wed Sep 4 15:22:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Shilong X-Patchwork-Id: 2853758 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 816D6C0AB5 for ; Wed, 4 Sep 2013 15:23:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6D246201ED for ; Wed, 4 Sep 2013 15:23:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62CCE204CE for ; Wed, 4 Sep 2013 15:23:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934759Ab3IDPXd (ORCPT ); Wed, 4 Sep 2013 11:23:33 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:37997 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762898Ab3IDPXb (ORCPT ); Wed, 4 Sep 2013 11:23:31 -0400 Received: by mail-pa0-f42.google.com with SMTP id lj1so580996pab.1 for ; Wed, 04 Sep 2013 08:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wXLrj3uILxFRCYBVVLzTy6VZ+PNMSNIwlT9ZE2OOWTo=; b=nrtWaEhkBRbZkA1k/tEgC34PmMF/ASV/s/ohYYam5QohEY3c8s3ZXyVUM7m0Q6owJM pQySzn2PV4PO5Uz8kCBeU4MikZJ4m3gNU/yqtFz49BxmDjjYvIQe5pgHxbDeZCIxKOjm /4Ykcotdift30hl/+arrKLNJ/RSj+qE23Es0Yy0dCz7OuHfDJ8ky6zEEAuZnVNsbz5la AjbvgAVa36uCvgTlQAd2OomrUUcio3yOH+shfCo3Q/TeuC2iW3Vz0X3a/ayCdqhg/9pZ ieCcvt/j5VGoBUSX42kjqkHirQ45DhqBexsBEJDwZqTth0qjE/M6KXxvCDPlYOAAOaJL uWRg== X-Received: by 10.66.231.104 with SMTP id tf8mr3981748pac.59.1378308211451; Wed, 04 Sep 2013 08:23:31 -0700 (PDT) Received: from localhost.localdomain.localdomain ([223.65.191.73]) by mx.google.com with ESMTPSA id uw6sm29467271pbc.8.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Sep 2013 08:23:30 -0700 (PDT) From: Wang Shilong To: linux-btrfs@vger.kernel.org Cc: dsterba@suse.cz, sandeen@redhat.com Subject: [PATCH 15/20] Btrfs-progs: fix magic return value in send-test.c Date: Wed, 4 Sep 2013 23:22:32 +0800 Message-Id: <1378308157-4621-16-git-send-email-wangshilong1991@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1378308157-4621-1-git-send-email-wangshilong1991@gmail.com> References: <1378308157-4621-1-git-send-email-wangshilong1991@gmail.com> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wang Shilong Signed-off-by: Wang Shilong --- send-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/send-test.c b/send-test.c index cb1f57d..3775f5f 100644 --- a/send-test.c +++ b/send-test.c @@ -454,5 +454,5 @@ int main(int argc, char **argv) pthread_attr_destroy(&t_attr); out: - return ret; + return !!ret; }