Changeset c47e1a8 in mainline for uspace/app/bdsh/scli.c


Ignore:
Timestamp:
2010-05-21T07:50:04Z (16 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d51ee2b
Parents:
cf8cc36 (diff), 15b592b (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 (rev. 451)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/scli.c

    rcf8cc36 rc47e1a8  
    3131#include <stdio.h>
    3232#include <stdlib.h>
    33 #include <string.h>
     33#include <str.h>
    3434#include <unistd.h>
    3535#include "config.h"
     
    6565        usr->lasterr = 0;
    6666
    67         input_init();
     67        if (input_init() != 0)
     68                return 1;
    6869
    6970        return (int) cli_set_prompt(usr);
     
    99100                }
    100101        }
    101         goto finit;
    102102
    103 finit:
     103        printf("Leaving %s.\n", progname);
     104
    104105        cli_finit(&usr);
    105106        return ret;
Note: See TracChangeset for help on using the changeset viewer.