summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@nuwen.net>2013-11-27 10:57:37 -0500
committerPaul Smith <psmith@gnu.org>2013-11-27 10:57:37 -0500
commit6cfe2989f72cbec41725b9da30570cf1cad8b9ca (patch)
tree846b30666a24dee1d03aa2329a62f5cfa8ecd888 /job.c
parent05fedcc9a8124c39b92c8065d96037848149ffed (diff)
downloadmake-6cfe2989f72cbec41725b9da30570cf1cad8b9ca.tar.gz
Solve some Windows build issues.
* main.c (main): Use ONS(), not OSN(). (prepare_mutex_handle_string) [WINDOWS32]: Use %Ix formatting to support both 32bit and 64bit systems. * job.c (free_child, new_job): Use ONS(), not OSN(). * w32/subproc/w32err.c (map_windws32_error_to_string): Use O() when calling fatal(). Copyright-paperwork-exempt: yes
Diffstat (limited to 'job.c')
-rw-r--r--job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/job.c b/job.c
index 2b17f428..d3d63b8c 100644
--- a/job.c
+++ b/job.c
@@ -1012,7 +1012,7 @@ free_child (struct child *child)
{
DWORD err = GetLastError ();
const char *estr = map_windows32_error_to_string (err);
- OSN (fatal, NILF,
+ ONS (fatal, NILF,
_("release jobserver semaphore: (Error %ld: %s)"), err, estr);
}
@@ -1959,7 +1959,7 @@ new_job (struct file *file)
{
DWORD err = GetLastError ();
const char *estr = map_windows32_error_to_string (err);
- OSN (fatal, NILF,
+ ONS (fatal, NILF,
_("semaphore or child process wait: (Error %ld: %s)"),
err, estr);
}