fileudi test driver: improve

This commit is contained in:
Jean-Francois Dockes
2020-08-06 15:58:46 +02:00
parent 0f36253565
commit 4576cf7285
3 changed files with 32 additions and 17 deletions
+2 -2
View File
@@ -16,8 +16,8 @@
*/
#include "autoconfig.h"
#include <stdio.h>
#include <cstdlib>
#include <iostream>
#include "fileudi.h"
#include "md5.h"
@@ -34,7 +34,7 @@ using std::string;
void pathHash(const std::string &path, std::string &phash, unsigned int maxlen)
{
if (maxlen < HASHLEN) {
fprintf(stderr, "pathHash: internal error: requested len too small\n");
std::cerr << "pathHash: internal error: requested len too small\n";
abort();
}