From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 18 16:50:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997491065674 for ; Wed, 18 Jun 2008 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 667A58FC1E for ; Wed, 18 Jun 2008 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5IGo18T079772 for ; Wed, 18 Jun 2008 16:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5IGo17m079771; Wed, 18 Jun 2008 16:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 18 Jun 2008 16:50:01 GMT Resent-Message-Id: <200806181650.m5IGo17m079771@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hywel Mallett Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B5C7106564A for ; Wed, 18 Jun 2008 16:44:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 734498FC2A for ; Wed, 18 Jun 2008 16:44:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5IGiwf7093906 for ; Wed, 18 Jun 2008 16:44:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5IGiwDp093905; Wed, 18 Jun 2008 16:44:58 GMT (envelope-from nobody) Message-Id: <200806181644.m5IGiwDp093905@www.freebsd.org> Date: Wed, 18 Jun 2008 16:44:58 GMT From: Hywel Mallett To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/124723: Typo in error message in ggated.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 16:50:02 -0000 >Number: 124723 >Category: kern >Synopsis: Typo in error message in ggated.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 18 16:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Hywel Mallett >Release: 7-RELENG >Organization: >Environment: FreeBSD one.option13.co.uk 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 4 19:43:28 BST 2008 hywel@one.option13.co.uk:/usr/obj/usr/src/sys/GENERIC amd64 >Description: In ggated there is an error message "No enough memory", which should (probably) read "Not enough memory". >How-To-Repeat: >Fix: Patch for src/sbin/ggate/ggated/ggated.c attached Patch attached with submission follows: --- /usr/src/sbin/ggate/ggated/ggated.c 2006-12-18 11:12:00.000000000 +0000 +++ ggated.c 2008-06-18 17:39:26.000000000 +0100 @@ -211,10 +211,10 @@ ex = malloc(sizeof(*ex)); if (ex == NULL) - g_gate_xlog("No enough memory."); + g_gate_xlog("Not enough memory."); ex->e_path = strdup(path); if (ex->e_path == NULL) - g_gate_xlog("No enough memory."); + g_gate_xlog("Not enough memory."); /* Made 'and' here. */ ex->e_ip = (ip & mask); >Release-Note: >Audit-Trail: >Unformatted: