From: Manish Katiyar Date: Sat, 23 Aug 2008 16:58:05 +0000 (+0530) Subject: debugfs: Print the progname instead of argv[0] in error message X-Git-Tag: v1.41.1~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73b054259632148e789f61cce244ec4fa929721d;p=thirdparty%2Fe2fsprogs.git 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" Signed-off-by: Theodore Ts'o --- diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index ab40de886..935df812c 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;