Correct slight stuff-up in previous patch.

This commit is contained in:
Jordan K. Hubbard 1999-12-16 02:14:30 +00:00
parent bb0ea411a8
commit b99df5acb5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54667
2 changed files with 4 additions and 4 deletions

View File

@ -63,9 +63,9 @@ main(int argc, char **argv)
if (st_fs.st_size != read(fd_fs,buf_fs,st_fs.st_size))
{ perror(argv[2]); exit(2); }
for(l=0,p=buf_kernel; l < st_kernel.st_size - st_fs.st_size ; l++,p++ )
if(*p == 'M' && !strcmp(p,"MD Filesystem goes here"))
if(*p == 'M' && !strcmp(p,"MFS Filesystem goes here"))
goto found;
fprintf(stderr,"MD filesystem signature not found in %s\n",argv[1]);
fprintf(stderr,"MFS filesystem signature not found in %s\n",argv[1]);
exit(1);
found:
if (!force)

View File

@ -63,9 +63,9 @@ main(int argc, char **argv)
if (st_fs.st_size != read(fd_fs,buf_fs,st_fs.st_size))
{ perror(argv[2]); exit(2); }
for(l=0,p=buf_kernel; l < st_kernel.st_size - st_fs.st_size ; l++,p++ )
if(*p == 'M' && !strcmp(p,"MD Filesystem goes here"))
if(*p == 'M' && !strcmp(p,"MFS Filesystem goes here"))
goto found;
fprintf(stderr,"MD filesystem signature not found in %s\n",argv[1]);
fprintf(stderr,"MFS filesystem signature not found in %s\n",argv[1]);
exit(1);
found:
if (!force)