Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
smp_utils
smp_utils-compile-fixes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smp_utils-compile-fixes of Package smp_utils
Index: smp_utils-0.94/sas_tpl/smp_portal_intf.c =================================================================== --- smp_utils-0.94.orig/sas_tpl/smp_portal_intf.c +++ smp_utils-0.94/sas_tpl/smp_portal_intf.c @@ -81,8 +81,8 @@ int chk_smp_portal_file(const char * smp res = 1; /* this is indeed SAS stack's smp portal */ } else { if (verbose > 2) { - fprintf(stderr, "chk_smp_portal_file: read %d bytes " - "(errno=%d)\n", ((res < 0) ? 0 : res), + fprintf(stderr, "chk_smp_portal_file: read %ld bytes " + "(errno=%d)\n", ((res < 0) ? 0 : (long)res), ((res < 0) ? errno : 0)); } res = 0; Index: smp_utils-0.94/sgv4/smp_sgv4_io.c =================================================================== --- smp_utils-0.94.orig/sgv4/smp_sgv4_io.c +++ smp_utils-0.94/sgv4/smp_sgv4_io.c @@ -33,7 +33,7 @@ chk_sgv4_device(const char * dev_name, i int len; if (strlen(dev_name) > sizeof(buff)) { - fprintf(stderr, "device name too long (greater than %d bytes)\n", + fprintf(stderr, "device name too long (greater than %lu bytes)\n", sizeof(buff)); return 0; } @@ -95,7 +95,7 @@ open_sgv4_device(const char * dev_name, struct timeval t; if (strlen(dev_name) > sizeof(buff)) { - fprintf(stderr, "device name too long (greater than %d bytes)\n", + fprintf(stderr, "device name too long (greater than %lu bytes)\n", sizeof(buff)); return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor