| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH v3 03/11] xfsprogs: undefined variable fix |
| From: | Jan Tulak <jtulak@xxxxxxxxxx> |
| Date: | Mon, 3 Aug 2015 16:39:41 +0200 |
| Cc: | david@xxxxxxxxxxxxx, hch@xxxxxxxxxxxxx, Jan Tulak <jtulak@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1438612789-17486-1-git-send-email-jtulak@xxxxxxxxxx> |
| References: | <1438612789-17486-1-git-send-email-jtulak@xxxxxxxxxx> |
Typo fix, which wasn't catch earlier due to #ifdef branching. The
'rmnttomname' does not exists anywhere and looks like a hybrid between
rmntfromname and rmntonname. And because the previous if has has
'fromname' on both arguments of realpath, I choose the same approach
when fixing it.
Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx>
---
libxcmd/paths.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libxcmd/paths.c b/libxcmd/paths.c
index c0b1ddb..b360617 100644
--- a/libxcmd/paths.c
+++ b/libxcmd/paths.c
@@ -364,7 +364,7 @@ fs_table_initialise_mounts(
continue;
if (!realpath(stats[i].f_mntfromname, rmntfromname))
continue;
- if (!realpath(stats[i].f_mntonname, rmnttomname)))
+ if (!realpath(stats[i].f_mntonname, rmntonname))
continue;
if (path &&
--
2.4.3
|
| Previous by Date: | [PATCH v2 02/11] xfsprogs: Use glibtoolize on osx, Jan Tulak |
|---|---|
| Next by Date: | [PATCH v2 01/11] xfsprogs: Don't Make .po files with gettext disabled, Jan Tulak |
| Previous by Thread: | [PATCH v2 02/11] xfsprogs: Use glibtoolize on osx, Jan Tulak |
| Next by Thread: | Re: [PATCH v3 03/11] xfsprogs: undefined variable fix, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |