diff options
| author | Weijie Gao <[email protected]> | 2026-05-20 16:27:31 +0800 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2026-07-08 11:30:14 +0200 |
| commit | d9a9d72e45c12571acb2258d669484eaef235872 (patch) | |
| tree | 1b688a6142e44725c5318783cbd576e86707ba72 /cmd | |
| parent | b63af5e2c20cc9d2d510c5ff38d48114582d410d (diff) | |
cmd: ubifs: mark string parameters with const
File name and volume name should be const as they will not be modified in
these functions.
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Weijie Gao <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/ubifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ubifs.c b/cmd/ubifs.c index 22e95db8ca5..81f2d37fc7b 100644 --- a/cmd/ubifs.c +++ b/cmd/ubifs.c @@ -19,7 +19,7 @@ static int ubifs_initialized; static int ubifs_mounted; -int cmd_ubifs_mount(char *vol_name) +int cmd_ubifs_mount(const char *vol_name) { int ret; |
