Print this page
293 useradd/del/mod should be ZFS-aware

@@ -27,12 +27,10 @@
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/types.h>
 #include <stdio.h>
 #include <userdefs.h>
 #include "messages.h"
 #include <unistd.h>

@@ -47,14 +45,15 @@
 
 /*
  *      Move directory contents from one place to another
  */
 int
-move_dir(char *from, char *to, char *login)
+move_dir(char *from, char *to, char *login, int flags)
                 /* directory to move files from */
                 /* dirctory to move files to */
                 /* login id of owner */
+                /* miscellaneous flags */
 {
         size_t len = 0;
         int rc = EX_SUCCESS;
         struct stat statbuf;
         struct utimbuf times;

@@ -90,11 +89,11 @@
                         (void) utime(to, &times);
 
                 }
 
                 /* Remove the files in the old place */
-                rc = rm_files(from, login);
+                rc = rm_files(from, login, flags);
 
         }
 
         return (rc);
 }