summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sed/main.c4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud