]> andersk Git - moira.git/blobdiff - clients/passwd/chsh.c
use new gual query to get proper modby info
[moira.git] / clients / passwd / chsh.c
index 20c3fe2ca1750179bf2258f2404000066d18feeb..eb00b2274fb4095b85ede08673dc5095395ad7df 100644 (file)
@@ -156,7 +156,7 @@ chsh(uname)
     q_argv[NAME] = uname;
     q_argc = NAME + 1;
 
-    if ((status = mr_query("get_user_by_login", q_argc, q_argv, 
+    if ((status = mr_query("get_user_account_by_login", q_argc, q_argv, 
                            get_shell, (char *) uname)))
     {
        com_err(whoami, status, " while getting user information.");
@@ -261,7 +261,7 @@ usage()
     exit(1);
 }
 
-#if defined(ultrix) || defined(AIX386)
+#if defined(ultrix) || defined(_AIX)
 char *getusershell()
 {
     static int count = 1;
This page took 0.10567 seconds and 4 git commands to generate.