Skip to content

Commit 09d95af

Browse files
committed
BF: fixed broken build on armhf platform
1 parent ba1b894 commit 09d95af

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

source/clients/qevent/ocs_qevent.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ static void qevent_start_trigger_script(int qevent_event, const char* script_fil
333333
exit_status = status;
334334

335335
if ( WEXITSTATUS(exit_status) == 0 ) {
336-
INFO("exit status of script: " sge_u32 "\n", WEXITSTATUS(exit_status));
336+
INFO("exit status of script: %d\n", WEXITSTATUS(exit_status));
337337
} else {
338-
ERROR("exit status of script: " sge_u32 "\n", WEXITSTATUS(exit_status));
338+
ERROR("exit status of script: %d\n", WEXITSTATUS(exit_status));
339339
}
340340
DRETURN_VOID;
341341
} else {

source/daemons/execd/execd.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ int main(int argc, char **argv)
191191

192192
/* Initialize path for temporary logging until we chdir to spool */
193193
my_pid = getpid();
194-
snprintf(tmp_err_file_name, sizeof(tmp_err_file_name), "%s." sge_u32 "", TMP_ERR_FILE_EXECD, my_pid);
194+
snprintf(tmp_err_file_name, sizeof(tmp_err_file_name), "%s." pid_t_fmt, TMP_ERR_FILE_EXECD, my_pid);
195195
log_state_set_log_file(tmp_err_file_name);
196196

197197
/* exit func for sge_exit() */

source/daemons/qmaster/sge_thread_scheduler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ sge_scheduler_main(void *arg) {
905905

906906
if (prof_is_active(SGE_PROF_CUSTOM6)) {
907907
PROFILING("PROF: schedd run took: %.3f s (init: %.3f s, copy: %.3f s, "
908-
"run:%.3f, free: %.3f s, jobs: " sge_u32 ", categories: %d/%d)",
908+
"run:%.3f, free: %.3f s, jobs: " sge_u32 ", categories: " sge_u32 "/%d)",
909909
prof_total, prof_init, prof_copy, prof_run, prof_free,
910910
lGetNumberOfElem(master_job_list), lGetNumberOfElem(master_category_list), 0);
911911
}

source/libs/gdi/ocs_gdi_ClientServerBase.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ ocs::gdi::ClientServerBase::sge_gdi_get_any_request(char *rhost, char *commproc,
398398
if (commproc[0] != '\0' && rhost[0] != '\0') {
399399
/* The connection was closed, reopen it */
400400
i = cl_commlib_open_connection(handle, (char *) rhost, (char *) commproc, usid);
401-
INFO("reopen connection to %s,%s," sge_u32 " (2)\n", rhost, commproc, usid);
401+
INFO("reopen connection to %s,%s,%d (2)\n", rhost, commproc, (int)usid);
402402
if (i == CL_RETVAL_OK) {
403403
INFO("reconnected successfully\n");
404404
i = cl_commlib_receive_message(handle, rhost, commproc, usid,

source/utilbin/qping.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,12 +540,12 @@ static void qping_print_line(const char* buffer, int nonewline, int dump_tag, co
540540
printf(" task:\n");
541541

542542
if (task->command) {
543-
printf("op : " sge_u32 "\n", task->command);
543+
printf("op : %d\n", task->command);
544544
} else {
545545
printf("op : %s\n", "nullptr");
546546
}
547547
if (task->target) {
548-
printf("target : " sge_u32 "\n", task->target);
548+
printf("target : %d\n", task->target);
549549
} else {
550550
printf("target : %s\n", "nullptr");
551551
}

0 commit comments

Comments
 (0)