aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-26 12:50:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-26 13:02:00 +0100
commit0371276fb4030261878dd6cfced9abd7bcd6137f (patch)
treeccd0a621cc80b4853d6f7e262388b207db16dc4f /nx-X11/programs/Xserver/os
parent99fb9817f6452df63b0c9258342086b5769ba468 (diff)
downloadnx-libs-0371276fb4030261878dd6cfced9abd7bcd6137f.tar.gz
nx-libs-0371276fb4030261878dd6cfced9abd7bcd6137f.tar.bz2
nx-libs-0371276fb4030261878dd6cfced9abd7bcd6137f.zip
hw/nxagent/: Stop using non-portable '__progname', set up our own 'nxagentProgName' instead and pass it around where needed.
Diffstat (limited to 'nx-X11/programs/Xserver/os')
-rw-r--r--nx-X11/programs/Xserver/os/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c
index 01666326e..a8155f3b4 100644
--- a/nx-X11/programs/Xserver/os/utils.c
+++ b/nx-X11/programs/Xserver/os/utils.c
@@ -557,8 +557,8 @@ AdjustWaitForDelay (void * waitTime, unsigned long newdelay)
void UseMsg(void)
{
#ifdef NXAGENT_SERVER
- extern const char *__progname;
- ErrorF("Usage: %s [<options>] [:<display>]\n\n", __progname);
+ extern const char *nxagentProgName;
+ ErrorF("Usage: %s [<options>] [:<display>]\n\n", nxagentProgName);
#else
ErrorF("use: X [:<display>] [option]\n");
#endif