mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-06 20:16:25 +00:00
scoutfs-utils: fix argv typo in error message
The data_waiting ioctl used the wrong argv index when printing the path arg string that it failed to open. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -67,7 +67,7 @@ static int waiting_cmd(int argc, char **argv)
|
||||
if (fd < 0) {
|
||||
ret = -errno;
|
||||
fprintf(stderr, "failed to open '%s': %s (%d)\n",
|
||||
argv[4], strerror(errno), errno);
|
||||
argv[3], strerror(errno), errno);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user