mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 14:31:48 +01:00
ed(1): drop redundant parenthesis.
These were Left-over from the cleanup in r309936.
This commit is contained in:
parent
9dad1250d7
commit
f50fae318d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310091
@ -64,7 +64,7 @@ get_sbuf_line(line_t *lp)
|
||||
}
|
||||
len = lp->len;
|
||||
REALLOC(sfbuf, sfbufsz, len + 1, NULL);
|
||||
if ((fread(sfbuf, sizeof(char), len, sfp)) != len) {
|
||||
if (fread(sfbuf, sizeof(char), len, sfp) != len) {
|
||||
fprintf(stderr, "%s\n", strerror(errno));
|
||||
errmsg = "cannot read temp file";
|
||||
return NULL;
|
||||
@ -110,7 +110,7 @@ put_sbuf_line(const char *cs)
|
||||
seek_write = 0;
|
||||
}
|
||||
/* assert: SPL1() */
|
||||
if ((fwrite(cs, sizeof(char), len, sfp)) != len) {
|
||||
if (fwrite(cs, sizeof(char), len, sfp) != len) {
|
||||
sfseek = -1;
|
||||
fprintf(stderr, "%s\n", strerror(errno));
|
||||
errmsg = "cannot write temp file";
|
||||
|
Loading…
Reference in New Issue
Block a user