]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/adfs/dir_f.c
Merge branch 'ioat-md-accel-for-linus' of git://lost.foo-projects.org/~dwillia2/git/iop
[linux-2.6-omap-h63xx.git] / fs / adfs / dir_f.c
index bbfc862592721fe4b79d8f60c36a13386f6c1269..b9b2b27b68c30f3dd97a7717d0f557e5f3f9615d 100644 (file)
@@ -53,7 +53,7 @@ static inline int adfs_readname(char *buf, char *ptr, int maxlen)
 {
        char *old_buf = buf;
 
-       while (*ptr >= ' ' && maxlen--) {
+       while ((unsigned char)*ptr >= ' ' && maxlen--) {
                if (*ptr == '/')
                        *buf++ = '.';
                else