| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/xmbmon/files/ |
Upload File : |
--- mbmon.c.orig 2015-05-28 10:06:29 UTC
+++ mbmon.c
@@ -315,7 +315,7 @@ int main(int argc, char *argv[])
name = argv[0];
#if !defined(LINUX) && defined(HAVE_SMBUS) && defined(SMBUS_IOCTL)
- while ((ch = getopt(argc,argv,"VSIAfdDYe:p:s:c:T:F:tunNirh")) != -1) {
+ while ((ch = getopt(argc,argv,"VSIAfdDYe:p:s:c:T:F:tunNirhP:")) != -1) {
#else
while ((ch = getopt(argc,argv,"VSIAfdDYe:p:c:T:F:tunNirhP:")) != -1) {
#endif
@@ -642,6 +642,7 @@ int main(int argc, char *argv[])
}
fflush(out);
if (port) {
+ fflush(out);
#ifdef LOGGING
if (nfd)
#endif
@@ -660,6 +661,7 @@ int main(int argc, char *argv[])
if (hostname_flag == 1) {
hostname(sh_flag);
}
+ fflush(stdout);
/* count */
if (count != 0) {