SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
net/libsmi/patches/patch-tools_smidump_c
Normal file
17
net/libsmi/patches/patch-tools_smidump_c
Normal file
|
@ -0,0 +1,17 @@
|
|||
Index: tools/smidump.c
|
||||
--- tools/smidump.c.orig
|
||||
+++ tools/smidump.c
|
||||
@@ -252,11 +252,10 @@ static void usage()
|
||||
printf_state=_set_printf_count_output(1);
|
||||
#endif
|
||||
#endif
|
||||
- fprintf(stderr, " --%s-%s%s%s%n",
|
||||
+ n = fprintf(stderr, " --%s-%s%s%s",
|
||||
driver->name, driver->opt[i].name,
|
||||
value ? "=" : "",
|
||||
- value ? value : "",
|
||||
- &n);
|
||||
+ value ? value : "");
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER >= 1400
|
||||
(void)_set_printf_count_output(printf_state);
|
Loading…
Add table
Add a link
Reference in a new issue