BSD 4_2 release
[unix-history] / usr / src / etc / dump / dumprmt.c
index 662cc37..4859e19 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)dumprmt.c   1.4 (Berkeley) 11/19/82";
+static char *sccsid = "@(#)dumprmt.c   1.6 (Berkeley) 7/1/83";
 
 #include <sys/param.h>
 #include <sys/mtio.h>
 
 #include <sys/param.h>
 #include <sys/mtio.h>
@@ -22,7 +22,7 @@ rmthost(host)
 {
 
        rmtpeer = host;
 {
 
        rmtpeer = host;
-       sigset(SIGPIPE, rmtconnaborted);
+       signal(SIGPIPE, rmtconnaborted);
        rmtgetconn();
        if (rmtape < 0)
                exit(1);
        rmtgetconn();
        if (rmtape < 0)
                exit(1);
@@ -161,7 +161,7 @@ rmtioctl(cmd, count)
        if (count < 0)
                return (-1);
        sprintf(buf, "I%d\n%d\n", cmd, count);
        if (count < 0)
                return (-1);
        sprintf(buf, "I%d\n%d\n", cmd, count);
-       rmtcall("ioctl", buf);
+       return (rmtcall("ioctl", buf));
 }
 
 rmtcall(cmd, buf)
 }
 
 rmtcall(cmd, buf)