~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/app/bdsh/exec.c

  • Committer: Martin Decky
  • Date: 2010-02-25 19:11:25 UTC
  • Revision ID: martin@uranus.dsrg.hide.ms.mff.cuni.cz-20100225191125-kbzwwihgu0uj0dss
make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        tmp = str_dup(find_command(cmd));
120
120
        free(found);
121
121
 
122
 
        tid = task_spawn((const char *)tmp, argv);
 
122
        tid = task_spawn(tmp, (const char **) argv);
123
123
        free(tmp);
124
124
 
125
125
        if (tid == 0) {