swapon error message

rws at mit-bold rws at mit-bold
Wed Jul 10 23:34:13 AEST 1985


The bogus code in swapon.c is:

				extern errno;
				extern char *sys_errlist[];
				printf("%s: %s\n",
				    sys_errlist[errno]);

We just changed it to
				perror(fsp->fs_spec);



More information about the Comp.unix.wizards mailing list