Silence a warning from clang about string concatenation.

This commit is contained in:
Todd C. Miller
2019-09-17 08:25:33 -06:00
parent b2fadf66de
commit d35670d1ae

View File

@@ -662,7 +662,7 @@ usage(int fatal)
* Use usage vectors appropriate to the progname.
*/
if (strcmp(getprogname(), "sudoedit") == 0) {
uvec[0] = SUDO_USAGE5 + 3;
uvec[0] = &SUDO_USAGE5[3];
uvec[1] = NULL;
} else {
uvec[0] = SUDO_USAGE1;