mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
Userland: Fix segfault in chown
chown takes 2 arguments, not 1.
This commit is contained in:
parent
084e67f267
commit
c8eaae3eaf
Notes:
sideshowbarker
2024-07-19 09:29:23 +09:00
Author: https://github.com/willmcpherson2
Commit: c8eaae3eaf
Pull-request: https://github.com/SerenityOS/serenity/pull/1205
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ int main(int argc, char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argc < 2) {
|
if (argc < 3) {
|
||||||
printf("usage: chown <uid[:gid]> <path>\n");
|
printf("usage: chown <uid[:gid]> <path>\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue