lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ea11fea30808230958j16cfbd31hf8b548ff34b97917@mail.gmail.com>
Date:	Sat, 23 Aug 2008 22:28:05 +0530
From:	"Manish Katiyar" <mkatiyar@...il.com>
To:	"Theodore Tso" <tytso@....edu>, linux-ext4@...r.kernel.org
Cc:	mkatiyar@...il.com
Subject: [PATCH] debugfs : Print the progname instead of argv[0] in error message.

Trivial fix to print the progname instead of argv[0] in error message.

Signed-off-by: "Manish Katiyar" <mkatiyar@...il.com>

---
 debugfs/debugfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index ab40de8..935df81 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -1514,7 +1514,7 @@ try_again:
 	if (retval == EXT2_ET_DIR_NO_SPACE) {
 		retval = ext2fs_expand_dir(current_fs, parent);
 		if (retval) {
-			com_err("argv[0]", retval, "while expanding directory");
+			com_err(argv[0], retval, "while expanding directory");
 			return;
 		}
 		goto try_again;
-- 
1.5.4.3


Thanks-
Manish
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ