Skip to content

Commit

Permalink
Fix name for vfat fs
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-arch committed Nov 22, 2024
1 parent b3cdf43 commit a253108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/checks.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ check_file_access(const mode_t mode, const uid_t uid, const gid_t gid)
}

/* Return 1 if the command CMD exists (is found in PATH) and is executable
* by the current user. Otherwise, return 0.
* (and readable) by the current user. Otherwise, return 0.
* This code is based on the file_status() function used by which(1). */
int
is_exec_cmd(const char *cmd)
Expand Down
2 changes: 1 addition & 1 deletion src/fsinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ get_fs_type_name(const char *file, int *remote)
case T_MINIX2_MAGIC2: return "minix v2 (30 char.)";
case T_MINIX3_MAGIC: return "minix3";
case T_MQUEUE_MAGIC: return "mqueue";
case T_MSDOS_MAGIC: return "msdos";
case T_MSDOS_MAGIC: return "vfat";
case T_MTD_INODE_FS_MAGIC: return "inodefs";
case T_NCP_MAGIC: *remote = 1; return "novell";
case T_NFS_MAGIC: *remote = 1; return "nfs";
Expand Down

0 comments on commit a253108

Please sign in to comment.