foo const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2092,7 +2092,7 @@ static char *onefile[] = {
|
||||
};
|
||||
|
||||
void
|
||||
list_file(const char *file)
|
||||
list_file(char *file)
|
||||
{
|
||||
if(use_builtin_ls) {
|
||||
FILE *dout;
|
||||
@@ -2107,9 +2107,9 @@ list_file(const char *file)
|
||||
pdata = -1;
|
||||
} else {
|
||||
#ifdef HAVE_LS_A
|
||||
char *cmd = "/bin/ls -lA %s";
|
||||
const char *cmd = "/bin/ls -lA %s";
|
||||
#else
|
||||
char *cmd = "/bin/ls -la %s";
|
||||
const char *cmd = "/bin/ls -la %s";
|
||||
#endif
|
||||
retrieve(cmd, file);
|
||||
}
|
||||
|
Reference in New Issue
Block a user