summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/chpass
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/chpass.c4
-rw-r--r--usr.bin/chpass/edit.c6
-rw-r--r--usr.bin/chpass/field.c4
-rw-r--r--usr.bin/chpass/util.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c
index f101101..086413d 100644
--- a/usr.bin/chpass/chpass.c
+++ b/usr.bin/chpass/chpass.c
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
static char sccsid[] = "From: @(#)chpass.c 8.4 (Berkeley) 4/2/94";
static char rcsid[] =
- "$Id$";
+ "$Id: chpass.c,v 1.2 1995/01/14 23:14:25 wollman Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -184,7 +184,7 @@ main(argc, argv)
(void)unlink(tempname);
tfd = pw_tmp();
}
-
+
pw_copy(pfd, tfd, pw);
if (!pw_mkdb())
diff --git a/usr.bin/chpass/edit.c b/usr.bin/chpass/edit.c
index b0ef308..612cb4a 100644
--- a/usr.bin/chpass/edit.c
+++ b/usr.bin/chpass/edit.c
@@ -126,19 +126,19 @@ display(fd, pw)
list[E_NAME].save = strdup(p);
if (!list[E_NAME].restricted || !uid)
(void)fprintf(fp, "Full Name: %s\n", p ? p : "");
-
+
p = strsep(&bp, ",");
if (p)
list[E_LOCATE].save = strdup(p);
if (!list[E_LOCATE].restricted || !uid)
(void)fprintf(fp, "Location: %s\n", p ? p : "");
-
+
p = strsep(&bp, ",");
if (p)
list[E_BPHONE].save = strdup(p);
if (!list[E_BPHONE].restricted || !uid)
(void)fprintf(fp, "Office Phone: %s\n", p ? p : "");
-
+
p = strsep(&bp, ",");
if (p)
list[E_HPHONE].save = strdup(p);
diff --git a/usr.bin/chpass/field.c b/usr.bin/chpass/field.c
index 898ba4d..6229e42 100644
--- a/usr.bin/chpass/field.c
+++ b/usr.bin/chpass/field.c
@@ -92,7 +92,7 @@ p_passwd(p, pw, ep)
warnx("can't save password entry");
return (1);
}
-
+
return (0);
}
@@ -170,7 +170,7 @@ p_class(p, pw, ep)
warnx("can't save entry");
return (1);
}
-
+
return (0);
}
diff --git a/usr.bin/chpass/util.c b/usr.bin/chpass/util.c
index ec4cc1f..03c7677 100644
--- a/usr.bin/chpass/util.c
+++ b/usr.bin/chpass/util.c
@@ -71,7 +71,7 @@ ttoa(tval)
else
*tbuf = '\0';
return (tbuf);
-}
+}
int
atot(p, store)
OpenPOWER on IntegriCloud