mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-10 21:30:04 +08:00
Match-id-38e2eab15a40447f44b5c119a3c68cb14e9a3847
This commit is contained in:
@@ -125,7 +125,7 @@ static int ParseOneCmdArg(struct CmdArgs *args, char indicator, const char *valu
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline bool IsCmdArgsValid(struct CmdArgs *args)
|
||||
static inline bool IsCmdArgsValid(const struct CmdArgs *args)
|
||||
{
|
||||
return (strlen(args->devices) > 0) && (strlen(args->rootfs) > 0) && (args->pid > 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user