From: Phillip Moore Date: Tue, 19 Oct 2010 15:31:47 +0000 (-0400) Subject: fs getfid defaults to '.', like other path-related commands X-Git-Tag: upstream/1.8.0_pre1^2~4581 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c77ac5ce976b6f3e5a13a3f739ddbb6e32a177b1;p=packages%2Fo%2Fopenafs.git fs getfid defaults to '.', like other path-related commands I noticed that all of the other commands that accept a list of paths use the SetDotDefault() function to default to ".", when no arguments are given. This patch adds that call to getfid, making it more consistent with similar commands. Change-Id: Ia50c6805996d338cbd8d006107caa4ea56178c8e Reviewed-on: http://gerrit.openafs.org/3008 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear --- diff --git a/src/venus/fs.c b/src/venus/fs.c index 2c3d6903c..7ce9fc441 100644 --- a/src/venus/fs.c +++ b/src/venus/fs.c @@ -4256,6 +4256,7 @@ GetFidCmd(struct cmd_syndesc *as, void *arock) int error = 0; char cell[MAXCELLCHARS]; + SetDotDefault(&as->parms[0].items); for (ti = as->parms[0].items; ti; ti = ti->next) { struct VenusFid vfid;