summaryrefslogtreecommitdiff
path: root/usr.bin/rsh/rsh.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 09:13:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 09:13:08 +0000
commit4a8dbfa3617da11a76be99789de0f924bc699f3d (patch)
tree63c4297fe46d18ff7acf72d1a0dc25fbfc43978c /usr.bin/rsh/rsh.c
parent25da195bd71701f0c433217d25d50e1db9841286 (diff)
sigblock mask is int, not long
Diffstat (limited to 'usr.bin/rsh/rsh.c')
-rw-r--r--usr.bin/rsh/rsh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c
index 4b0cf83b3a6..5bca2d14ffb 100644
--- a/usr.bin/rsh/rsh.c
+++ b/usr.bin/rsh/rsh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsh.c,v 1.12 1997/03/26 19:41:59 deraadt Exp $ */
+/* $OpenBSD: rsh.c,v 1.13 1997/06/23 09:13:07 deraadt Exp $ */
/*-
* Copyright (c) 1983, 1990 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)rsh.c 5.24 (Berkeley) 7/1/91";*/
-static char rcsid[] = "$OpenBSD: rsh.c,v 1.12 1997/03/26 19:41:59 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: rsh.c,v 1.13 1997/06/23 09:13:07 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -90,7 +90,7 @@ main(argc, argv)
extern int optind;
struct passwd *pw;
struct servent *sp;
- long omask;
+ int omask;
int argoff, asrsh, ch, dflag, nflag, one, pid, rem, uid;
register char *p;
char *args, *host, *user, *copyargs();
@@ -311,7 +311,7 @@ try_connect:
talk(nflag, omask, pid, rem)
int nflag, pid;
- long omask;
+ int omask;
register int rem;
{
register int cc, wc;