diff options
Diffstat (limited to 'extlinux/main.c')
-rw-r--r-- | extlinux/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extlinux/main.c b/extlinux/main.c index 819f74b5..e9226fce 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -812,7 +812,7 @@ static const char *find_device(const char *mtab_file, dev_t dev) mtab = setmntent(mtab_file, "r"); if (!mtab) return NULL; - + while ( (mnt = getmntent(mtab)) ) { if ( (!strcmp(mnt->mnt_type, "ext2") || !strcmp(mnt->mnt_type, "ext3")) && @@ -1001,7 +1001,8 @@ main(int argc, char *argv[]) opt.reset_adv = 1; break; case 'v': - fputs("extlinux " VERSION "\n", stderr); + fputs("extlinux " VERSION_STR + " Copyright 1994-" YEAR_STR " H. Peter Anvin \n", stderr); exit(0); default: usage(EX_USAGE); |