Change in osmo-bts[master]: oc2gbts_mgr_calib: don't use fsync() von *FILE pointer

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Fri Mar 15 14:46:49 UTC 2019


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/13271


Change subject: oc2gbts_mgr_calib: don't use fsync() von *FILE pointer
......................................................................

oc2gbts_mgr_calib: don't use fsync() von *FILE pointer

fsync() takes an integer file descriptor but we have a *FILE pointer
here. Lets use fflush() then.

Change-Id: I46ffd8c680ba0b445cbbd133d5ce92b79e3d8d87
---
M src/osmo-bts-oc2g/misc/oc2gbts_mgr_calib.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/71/13271/1

diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_mgr_calib.c b/src/osmo-bts-oc2g/misc/oc2gbts_mgr_calib.c
index eac8ed1..55b1d77 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_mgr_calib.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_mgr_calib.c
@@ -134,7 +134,7 @@
 		fclose(fp);
 		return -EIO;
 	}
-	fsync(fp);
+	fflush(fp);
 	fclose(fp);
 
 	return 0;

-- 
To view, visit https://gerrit.osmocom.org/13271
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I46ffd8c680ba0b445cbbd133d5ce92b79e3d8d87
Gerrit-Change-Number: 13271
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190315/04a32f18/attachment.htm>


More information about the gerrit-log mailing list