summaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-02 10:12:56 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-02 10:12:56 -0400
commita32ca313c4bc67d56af5f345fa0129b50c006b12 (patch)
treeaca71f0e71783cbb7ec19ba888667e2b755e8282 /src/test/test_util.c
parentf25806409d34ab675e01a30347b4995c741a6287 (diff)
parent5854b19816bc7b09df4785afbfb0e8891b398638 (diff)
downloadtor-a32ca313c4bc67d56af5f345fa0129b50c006b12.tar.gz
tor-a32ca313c4bc67d56af5f345fa0129b50c006b12.zip
Merge branch 'maint-0.2.7' into maint-0.2.8
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 21ff75741a..d534cc0b52 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -4679,7 +4679,7 @@ test_util_writepid(void *arg)
contents = read_file_to_str(fname, 0, NULL);
tt_assert(contents);
- int n = sscanf(contents, "%lu\n%c", &pid, &c);
+ int n = tor_sscanf(contents, "%lu\n%c", &pid, &c);
tt_int_op(n, OP_EQ, 1);
#ifdef _WIN32