diff options
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/adfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h index a8a58d864f96..718ac1f440c6 100644 --- a/fs/adfs/adfs.h +++ b/fs/adfs/adfs.h | |||
@@ -112,7 +112,7 @@ struct object_info { | |||
112 | /* RISC OS 12-bit filetype converts to ,xyz hex filename suffix */ | 112 | /* RISC OS 12-bit filetype converts to ,xyz hex filename suffix */ |
113 | static inline int append_filetype_suffix(char *buf, __u16 filetype) | 113 | static inline int append_filetype_suffix(char *buf, __u16 filetype) |
114 | { | 114 | { |
115 | if (filetype == -1) | 115 | if (filetype == 0xffff) /* no explicit 12-bit file type was set */ |
116 | return 0; | 116 | return 0; |
117 | 117 | ||
118 | *buf++ = ','; | 118 | *buf++ = ','; |