Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:Update
dbench
verbose.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File verbose.diff of Package dbench
diff -ruN dbench-3.04.orig/fileio.c dbench-3.04/fileio.c --- dbench-3.04.orig/fileio.c 2004-12-13 03:26:32.000000000 +0100 +++ dbench-3.04/fileio.c 2005-11-16 14:10:54.000000000 +0100 @@ -295,7 +295,7 @@ buf = calloc(size, 1); if (pwrite(ftable[i].fd, buf, size, offset) != ret_size) { - printf("write failed on handle %d\n", handle); + printf("write failed on handle %d (%s)\n", handle, strerror(errno)); exit(1); } @@ -315,7 +315,7 @@ buf = malloc(size); if (pread(ftable[i].fd, buf, size, offset) != ret_size) { - printf("read failed on handle %d\n", handle); + printf("read failed on handle %d (%s)\n", handle, strerror(errno)); } free(buf); diff -ruN dbench-3.04.orig/io.c dbench-3.04/io.c --- dbench-3.04.orig/io.c 2003-10-16 03:58:48.000000000 +0200 +++ dbench-3.04/io.c 2005-11-16 14:10:54.000000000 +0100 @@ -114,7 +114,7 @@ } lseek(ftable[i].fd, offset, SEEK_SET); if (write(ftable[i].fd, buf, size) != size) { - printf("write failed on handle %d\n", handle); + printf("write failed on handle %d (%s)\n", handle, strerror(errno)); } }
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