foo const

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-11-01 04:22:38 +00:00
parent a42059f379
commit b13b9064ff

View File

@@ -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);
}