Changeset 371bd7d in mainline for uspace/app/redir/redir.c


Ignore:
Timestamp:
2010-03-27T09:22:17Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a75a2
Parents:
cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/redir/redir.c

    rcd82bb1 r371bd7d  
    3939#include <fcntl.h>
    4040#include <unistd.h>
    41 #include <string.h>
     41#include <str.h>
    4242#include <stdio.h>
    4343#include <task.h>
     
    7272static task_id_t spawn(int argc, char *argv[])
    7373{
    74         char **args = (char *) calloc(argc + 1, sizeof(char *));
     74        const char **args = (const char **) calloc(argc + 1, sizeof(char *));
    7575        if (!args) {
    7676                printf("No memory available\n");
Note: See TracChangeset for help on using the changeset viewer.