diff --git a/mt.c b/mt.c index 1304053..593b264 100644 --- a/mt.c +++ b/mt.c @@ -694,15 +694,8 @@ static int do_show_options(int mtfd, { int i, fd, options, tapeminor, tapeno, tapemode; struct stat stat; - struct utsname uts; char fname[100], buf[20]; - if (uname(&uts) < 0) { - perror(tape_name); - return 2; - } - sscanf(uts.release, "%d.%d.%d", &i, &tapeno, &tapemode); - if (fstat(mtfd, &stat) < 0) { perror(tape_name); return 1;