Changes in uspace/app/bdsh/cmds/modules/mount/mount.c [680708d:86cf96d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mount/mount.c
r680708d r86cf96d 30 30 #include <stdio.h> 31 31 #include <stdlib.h> 32 #include <str_error.h>33 32 #include <vfs/vfs.h> 34 33 #include <adt/list.h> … … 118 117 argc = cli_count_args(argv); 119 118 120 for (c = 0, opt ind = 0, opt_ind = 0; c != -1;) {119 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 121 120 c = getopt_long(argc, argv, "i:h", long_options, &opt_ind); 122 121 switch (c) { … … 153 152 rc = mount(t_argv[1], t_argv[2], dev, mopts, 0, instance); 154 153 if (rc != EOK) { 155 printf("Unable to mount %s filesystem to %s on %s (rc=% s)\n",156 t_argv[1], t_argv[2], t_argv[3], str_error(rc));154 printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n", 155 t_argv[1], t_argv[2], t_argv[3], rc); 157 156 return CMD_FAILURE; 158 157 }
Note:
See TracChangeset
for help on using the changeset viewer.