Libnetapi: Fix wformat-security
Change-Id: I0898cd18e7721eee26ccbe557c385f4e61c3025f Reviewed-on: https://review.haiku-os.org/c/haiku/+/4448 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
a731585f88
commit
9a76b18fb6
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user