blob: b80055180494fdf1d8e282e43261050f1600ad08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- agent/ssu.C.orig 2002-08-01 17:09:53.000000000 -0400
+++ agent/ssu.C 2007-09-15 19:44:20.000000000 -0400
@@ -87,7 +87,7 @@
str cwdopt = getcwdopt ();
vec<char *> av;
- av.push_back (PATH_SU);
+ av.push_back (const_cast<char *> (PATH_SU));
int ch;
while ((ch = getopt (argc, argv, "fmlc:")) != -1)
@@ -111,8 +111,8 @@
if (argc)
usage ();
- av.push_back ("root");
- av.push_back ("-c");
+ av.push_back (const_cast<char *> ("root"));
+ av.push_back (const_cast<char *> ("-c"));
{
strbuf cbuf ("exec ");
cbuf << fix_exec_path ("newaid") << " " << uidopt;
|