}
fuseargc = i;
mnt = argv[ i++ ]; // First non-option argument is the mount pount
- if ( strcmp( argv[i], "-overlay:" ) == 0 ) {
+ #define OVERLAYTAG "-overlay:"
+ if ( strncmp( argv[i], OVERLAYTAG, strlen( OVERLAYTAG ) ) == 0 ) {
// consume "-overlay:filename[,filename]*"
- // Verify file access; to overlay must be writable.
- overlay_setup( argv[i++] + strlen( "-overlay:" ) );
+ overlay_setup( argv[i++] + strlen( OVERLAYTAG ) );
if ( i >= argc ) {
usage();
}