command_bcache() does not use argv
Therefore mark argv __unused.
This commit is contained in:
parent
ca2ebb27ed
commit
726f09bc6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347223
@ -467,7 +467,7 @@ bcache_invalidate(struct bcache *bc, daddr_t blkno)
|
|||||||
COMMAND_SET(bcachestat, "bcachestat", "get disk block cache stats", command_bcache);
|
COMMAND_SET(bcachestat, "bcachestat", "get disk block cache stats", command_bcache);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
command_bcache(int argc, char *argv[])
|
command_bcache(int argc, char *argv[] __unused)
|
||||||
{
|
{
|
||||||
if (argc != 1) {
|
if (argc != 1) {
|
||||||
command_errmsg = "wrong number of arguments";
|
command_errmsg = "wrong number of arguments";
|
||||||
|
Loading…
Reference in New Issue
Block a user