progname should be const
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
|
|
||||||
static char *progname = "sudo";
|
static const char *progname = "sudo";
|
||||||
|
|
||||||
void
|
void
|
||||||
setprogname(const char *name)
|
setprogname(const char *name)
|
||||||
|
Reference in New Issue
Block a user