Skip to content

Commit e82d0f2

Browse files
committed
Minor update to avoid warning
Fix typo Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 68b6a77 commit e82d0f2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

linux/massStorageCopy

6 Bytes
Binary file not shown.

linux64/massStorageCopy

4 Bytes
Binary file not shown.

src/massStorageCopy/massStorageCopy.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <mntent.h>
66
#include <unistd.h>
77
#include <errno.h>
8+
#include <ctype.h>
89

910
static char *input_path = NULL;
1011
static char *output_path = NULL;
@@ -87,7 +88,7 @@ int main(int argc, char *argv[])
8788

8889
if (strlen(input_path) && strlen(output_dev))
8990
{
90-
/* get the mounted devives list */
91+
/* get the mounted devices list */
9192
aFile = setmntent("/proc/mounts", "r");
9293
if (aFile == NULL) {
9394
perror("setmntent");
@@ -141,7 +142,7 @@ int main(int argc, char *argv[])
141142
ret = system(cmd);
142143

143144
} else {
144-
printf("%s not found. please ensure the device is correctly connected\n",
145+
printf("%s not found. Please ensure the device is correctly connected\n",
145146
output_dev);
146147
ret = ENODEV;
147148
}

0 commit comments

Comments
 (0)