From nobody Tue Dec 26 17:48:26 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T02Lf57Bfz55F4h; Tue, 26 Dec 2023 17:48:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T02Lf3fHWz4b12; Tue, 26 Dec 2023 17:48:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703612906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+beQaKnFExMmcXMMk4GwubJUjb28F37GDFrreZFn1O0=; b=KRIFk+rsg1YWb/xlgtQC7kUZLcgcQK/WTwzFUQWUwXKph0bmvZhgZfOt2yDwyYEPthFVUK Lq3lZB6Q9cubBrbbaRYPjOP5eMMZDgePnx9YGSXnngJbxs5Kfqa93jVkyhEBrncMDl5aF2 xkqRezaEjAJCPzdG6O/qu6TvGvYmpWups4CziCvgbn5XftSQiPZKsxqK1pGCLKXTcf1VnN s6VSQDnP9U/PI1S6kzRkunykZ7hhThoRTk+uApXqu6kLcTOqfBknfUVebousiK2sYxUk0p 1vbOqcruJIjtYCUOCcqfDUoAMdt/GwpBLm8Cx7W2zxa58uiDMFTFeOp1y9Kvxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703612906; a=rsa-sha256; cv=none; b=xTkpCWc2bxC+GXYyl4mMckL5UAMzQWPCwW/78MOxeZwhCWSZ2RNUJ9RcIM9xNfG87wTRue xAhVfSliVnbjDdZxo7336Q1T0IdRiLis30TiNJPQbHxj8BTVctGQtMUCOQyJWl9adfIRwC 40uZCgbd0A4sPtPVNlVxItDJ2dD2W5ct2aqA3gtJHZbYLRqKkzLhkiY0kzMzObix897wx9 Os3OzKLYLGou7zfYO/zvtqeSY8ujLR0eaQ9b/6gQN+okRdI7SRavNhn8UO0+Q/6rVJANB2 fVZdNH/XU+BwQrLs/jOetQ7KWc1s9W7T23KaWacF2kxSFUj+Av3WIAlqUpwBtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703612906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+beQaKnFExMmcXMMk4GwubJUjb28F37GDFrreZFn1O0=; b=qOFyPRe4PiMZbmZTHyKj+zBxZa1S87sQLGmh3t37kCCfjfZfPOa/faolqNn208OE+2auqv itBIJjXu0+QPS6OVyK61Nt6addOo+naaQ2FW28oGj4HSOoXsfO6DekIIi2btxAtte2J+D9 jnKinUVMAIRrK96AUVg2XupKit1YZ4LfpNCi9ktc83uA1YwKSziuEFmcZbUnFLX7eOs6AO X+4esXkMDQAxL5OWGQc8IXl4qLiiCHw7k9ofJTSizmvaApcvAw4IOXmu4IN1BTkHabwlLh DQm0S9c5nVAao90FlOwqV0ovJ7cpPU0RvmKXlYyBJm8wSn2gpAPL4X+cqIclIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T02Lf2gyHz13bV; Tue, 26 Dec 2023 17:48:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BQHmQlf080551; Tue, 26 Dec 2023 17:48:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BQHmQg2080549; Tue, 26 Dec 2023 17:48:26 GMT (envelope-from git) Date: Tue, 26 Dec 2023 17:48:26 GMT Message-Id: <202312261748.3BQHmQg2080549@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: ebb1fe400615 - main - mv: Improve comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ebb1fe40061500ccbdae3c804bf6bd2b9ea0a9c8 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ebb1fe40061500ccbdae3c804bf6bd2b9ea0a9c8 commit ebb1fe40061500ccbdae3c804bf6bd2b9ea0a9c8 Author: Zhan-Wei AuthorDate: 2023-12-26 17:15:46 +0000 Commit: Warner Losh CommitDate: 2023-12-26 17:24:22 +0000 mv: Improve comment Fix typo/grammar error: Use the singlar verb ending on exists. Event: Advanced UNIX Programming Course (Fall23) at NTHU. Reviewed by: imp, zlei Pull Request: https://github.com/freebsd/freebsd-src/pull/940 --- bin/mv/mv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mv/mv.c b/bin/mv/mv.c index 1dee9348cc3b..7a1ecba7e076 100644 --- a/bin/mv/mv.c +++ b/bin/mv/mv.c @@ -172,7 +172,7 @@ do_move(const char *from, const char *to) */ if (!fflg && !access(to, F_OK)) { - /* prompt only if source exist */ + /* prompt only if source exists */ if (lstat(from, &sb) == -1) { warn("%s", from); return (1);