diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 00:07:29 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 00:07:29 +0000 |
commit | 188803394908f222ab3ed8ec32331eb6dd00fd2d (patch) | |
tree | ac48fd8c79dd9f0b338762a1129b83587ab3a39f /bin/test | |
parent | 8737971a6da37e8fb1df8b8129813b45db5d6261 (diff) | |
download | FreeBSD-src-188803394908f222ab3ed8ec32331eb6dd00fd2d.zip FreeBSD-src-188803394908f222ab3ed8ec32331eb6dd00fd2d.tar.gz |
Remove trailing whitespace.
Reviewed by: phk
Diffstat (limited to 'bin/test')
-rw-r--r-- | bin/test/test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index d9a22e4..e6f9dc9 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: test.c,v 1.9 1994/11/05 20:48:06 ache Exp $ + * $Id: test.c,v 1.10 1995/03/19 13:29:28 joerg Exp $ */ #ifndef lint @@ -238,13 +238,13 @@ main(argc, argv) get_int(valsp->u.string, &valsp->u.num); valsp->type = INTEGER; - } else if (c >= OP_STRING) { + } else if (c >= OP_STRING) { /* OP_STRING or OP_FILE */ if (valsp->type == INTEGER) { if ((p = malloc(32)) == NULL) err(2, NULL); #ifdef SHELL - fmtstr(p, 32, "%d", + fmtstr(p, 32, "%d", valsp->u.num); #else (void)sprintf(p, @@ -253,7 +253,7 @@ main(argc, argv) valsp->u.string = p; } else if (valsp->type == BOOLEAN) { if (valsp->u.num) - valsp->u.string = + valsp->u.string = "true"; else valsp->u.string = ""; @@ -262,8 +262,8 @@ main(argc, argv) if (c == OP_FILE && (fs.name == NULL || strcmp(fs.name, valsp->u.string))) { fs.name = valsp->u.string; - fs.rcode = - stat(valsp->u.string, + fs.rcode = + stat(valsp->u.string, &fs.stat); } } |