+ /* if no user label specified, use ext2 filesystem label if available */
+ if (spcl.c_label[0] == '\0') {
+ if (fs->super->s_volume_name[0] != '\0') {
+ strncpy(spcl.c_label, fs->super->s_volume_name,LBLSIZE);
+ spcl.c_label[LBLSIZE-1] = '\0';
+ }
+ else
+ strcpy(spcl.c_label, "none"); /* safe strcpy. */
+ }