mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 15:25:58 +00:00
Silence a warning from clang about string concatenation.
This commit is contained in:
@@ -662,7 +662,7 @@ usage(int fatal)
|
|||||||
* Use usage vectors appropriate to the progname.
|
* Use usage vectors appropriate to the progname.
|
||||||
*/
|
*/
|
||||||
if (strcmp(getprogname(), "sudoedit") == 0) {
|
if (strcmp(getprogname(), "sudoedit") == 0) {
|
||||||
uvec[0] = SUDO_USAGE5 + 3;
|
uvec[0] = &SUDO_USAGE5[3];
|
||||||
uvec[1] = NULL;
|
uvec[1] = NULL;
|
||||||
} else {
|
} else {
|
||||||
uvec[0] = SUDO_USAGE1;
|
uvec[0] = SUDO_USAGE1;
|
||||||
|
Reference in New Issue
Block a user