From 12bd424bdff20ebb0fe66992ca9bf4afccef3127 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 4 Nov 2003 12:07:09 +0000 Subject: Correct style bugs in the in-place editing code. --- usr.bin/sed/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/sed') diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c index 2ccc988..0dadf16 100644 --- a/usr.bin/sed/main.c +++ b/usr.bin/sed/main.c @@ -419,7 +419,7 @@ inplace_edit(filename) err(1, "lstat"); if ((orig.st_mode & S_IFREG) == 0) { warnx("cannot inplace edit %s, not a regular file", *filename); - return -1; + return (-1); } if (*inplace == '\0') { @@ -453,7 +453,7 @@ inplace_edit(filename) *filename = strdup(backup); if (*filename == NULL) err(1, "malloc"); - return 0; + return (0); } int -- cgit v1.1