Changes in / [8ad673a:eb667613] in mainline


Ignore:
Files:
5 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    r8ad673a reb667613  
    9797        $(USPACE_PATH)/srv/fs/tmpfs/tmpfs \
    9898        $(USPACE_PATH)/srv/fs/fat/fat \
    99         $(USPACE_PATH)/srv/fs/pipefs/pipefs \
    10099        $(USPACE_PATH)/srv/taskmon/taskmon \
    101100        $(USPACE_PATH)/srv/hw/netif/dp8390/dp8390 \
  • uspace/Makefile

    r8ad673a reb667613  
    7070        srv/fs/tmpfs \
    7171        srv/fs/devfs \
    72         srv/fs/pipefs \
    7372        srv/hid/adb_mouse \
    7473        srv/hid/char_mouse \
  • uspace/app/bdsh/cmds/modules/mount/mount.c

    r8ad673a reb667613  
    4444{
    4545        static char helpfmt[] =
    46             "Usage:  %s <fstype> <mp> [dev] [<moptions>]\n";
     46            "Usage:  %s <fstype> <mp> <dev> [<moptions>]\n";
    4747        if (level == HELP_SHORT) {
    4848                printf("'%s' mounts a file system.\n", cmdname);
     
    5959        unsigned int argc;
    6060        const char *mopts = "";
    61         const char *dev = "";
    6261        int rc;
    6362
    6463        argc = cli_count_args(argv);
    6564
    66         if ((argc < 3) || (argc > 5)) {
     65        if ((argc < 4) || (argc > 5)) {
    6766                printf("%s: invalid number of arguments.\n",
    6867                    cmdname);
    6968                return CMD_FAILURE;
    7069        }
    71         if (argc > 3)
    72                 dev = argv[3];
    7370        if (argc == 5)
    7471                mopts = argv[4];
    7572
    76         rc = mount(argv[1], argv[2], dev, mopts, 0);
     73        rc = mount(argv[1], argv[2], argv[3], mopts, 0);
    7774        if (rc != EOK) {
    7875                printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n",
  • uspace/app/redir/redir.c

    r8ad673a reb667613  
    4949static void usage(void)
    5050{
    51         fprintf(stderr, "Usage: %s [-i <stdin>] [-o <stdout>] [-e <stderr>] -- <cmd> [args ...]\n",
     51        printf("Usage: %s [-i <stdin>] [-o <stdout>] [-e <stderr>] -- <cmd> [args ...]\n",
    5252            NAME);
    5353}
     
    8383        args = (const char **) calloc(argc + 1, sizeof(char *));
    8484        if (!args) {
    85                 fprintf(stderr, "No memory available\n");
     85                printf("No memory available\n");
    8686                return 0;
    8787        }
     
    9898       
    9999        if (rc != EOK) {
    100                 fprintf(stderr, "%s: Error spawning %s (%s)\n", NAME, argv[0],
     100                printf("%s: Error spawning %s (%s)\n", NAME, argv[0],
    101101                    str_error(rc));
    102                 return 0;
    103102        }
    104103       
Note: See TracChangeset for help on using the changeset viewer.