diff options
author | des <des@FreeBSD.org> | 2003-11-04 12:07:09 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-11-04 12:07:09 +0000 |
commit | 12bd424bdff20ebb0fe66992ca9bf4afccef3127 (patch) | |
tree | 1863ba56ae6bae6b34a27672cfd11f6c95d81c62 /usr.bin/sed | |
parent | 46a574efa9d64e0719dd8846de8e06a157dbd4ff (diff) | |
download | FreeBSD-src-12bd424bdff20ebb0fe66992ca9bf4afccef3127.zip FreeBSD-src-12bd424bdff20ebb0fe66992ca9bf4afccef3127.tar.gz |
Correct style bugs in the in-place editing code.
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/main.c | 4 |
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 |