From f4677a65312e92fc3a12b29efa6bbc174df563be Mon Sep 17 00:00:00 2001 From: Phillip Moore Date: Tue, 19 Oct 2010 11:31:47 -0400 Subject: [PATCH] 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. Reviewed-on: http://gerrit.openafs.org/3008 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear (cherry picked from commit c77ac5ce976b6f3e5a13a3f739ddbb6e32a177b1) Change-Id: I94ada76f835ccd01e2061034bd6585d6f1d5dccb Reviewed-on: http://gerrit.openafs.org/3231 --- src/venus/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/venus/fs.c b/src/venus/fs.c index 4b3880918..a8c17123e 100644 --- a/src/venus/fs.c +++ b/src/venus/fs.c @@ -4261,6 +4261,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; -- 2.39.5