projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-vsctl: Fix formatting in manpage.
[openvswitch]
/
ovsdb
/
log.c
diff --git
a/ovsdb/log.c
b/ovsdb/log.c
index 9c2e277ce4a642fa953f00d95e152911bc5dd785..c8dac10c9542064d737ca18d75805d0da63a5ed2 100644
(file)
--- a/
ovsdb/log.c
+++ b/
ovsdb/log.c
@@
-337,7
+337,7
@@
ovsdb_log_write(struct ovsdb_log *file, struct json *json)
/* Remove any partially written data, ignoring errors since there is
* nothing further we can do. */
/* Remove any partially written data, ignoring errors since there is
* nothing further we can do. */
-
ftruncate(fileno(file->stream), file->offset
);
+
ignore(ftruncate(fileno(file->stream), file->offset)
);
goto error;
}
goto error;
}