Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1: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.93/sas_tpl/smp_portal_intf.c =================================================================== --- smp_utils-0.93.orig/sas_tpl/smp_portal_intf.c +++ smp_utils-0.93/sas_tpl/smp_portal_intf.c @@ -81,9 +81,9 @@ 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), - ((res < 0) ? errno : 0)); + fprintf(stderr, "chk_smp_portal_file: read %ld bytes " + "(errno=%ld)\n", ((res < 0) ? 0 : res), + ((res < 0) ? (long)errno : 0)); } res = 0; } Index: smp_utils-0.93/sgv4/smp_sgv4_io.c =================================================================== --- smp_utils-0.93.orig/sgv4/smp_sgv4_io.c +++ smp_utils-0.93/sgv4/smp_sgv4_io.c @@ -32,8 +32,8 @@ 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", - sizeof(buff)); + fprintf(stderr, "device name too long (greater than %lu bytes)\n", + sizeof(buff)); return 0; } len = 0; @@ -88,7 +88,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