Libnetapi: Fix wformat-security

Change-Id: I0898cd18e7721eee26ccbe557c385f4e61c3025f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4448
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Coldfirex 2021-09-10 14:02:20 -05:00 committed by Adrien Destugues
parent a731585f88
commit 9a76b18fb6

View File

@ -178,10 +178,10 @@ void BNetDebug::Dump(const char* data, size_t size, const char* title)
ptr[0] = '\n';
ptr[1] = '\0';
fprintf(stderr, text);
fputs(text, stderr);
};
};
fprintf( stderr, "----------\n" );
fputs("----------\n", stderr);
fflush( stderr );
}