diff options
author | Roy Marples <roy@marples.name> | 2007-08-28 13:10:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-28 13:10:07 +0000 |
commit | f7583144f378b90d264da8c7fdd8245798944053 (patch) | |
tree | e14a2860a6ad940798508e3dafd33d06c2a2ed84 | |
parent | 144d9653e11918390f2d2ae73b11e07cf312d2fa (diff) |
Use correct defines
-rw-r--r-- | src/rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -512,7 +512,7 @@ static void sulogin (bool cont) } waitpid (pid, &status, 0); } else { -#ifdef __linux +#ifdef __linux__ execle ("/sbin/sulogin", "/sbin/sulogin", (char *) NULL, newenv); eerrorx ("%s: unable to exec `/sbin/sulogin': %s", applet, strerror (errno)); #else @@ -955,7 +955,7 @@ int main (int argc, char **argv) strcmp (RUNLEVEL, "0") != 0) { execl (SHUTDOWN, SHUTDOWN, -#ifdef __linux +#ifdef __linux__ "-h", #else "-p", |