]> andersk Git - moira.git/commitdiff
Do typed input on fs_type & locker_type
authormar <mar>
Thu, 1 Sep 1988 14:00:12 +0000 (14:00 +0000)
committermar <mar>
Thu, 1 Sep 1988 14:00:12 +0000 (14:00 +0000)
clients/moira/attach.c

index c028cf3d4ff321ea2ce8ed544d1a134b64902726..1bfd94a910121a8dc5a7f6c441f38d0cf91d0fe5 100644 (file)
@@ -210,7 +210,7 @@ Bool name;
                         &newname);
     }
 
-    GetValueFromUser("Filesystem's Type", &info[FS_TYPE]);
+    GetTypeFromUser("Filesystem's Type", "filesys", &info[FS_TYPE]);
     GetValueFromUser("Filesystem's Machine", &info[FS_MACHINE]);
     strcpy(temp_buf, CanonicalizeHostname(info[FS_MACHINE]));
     free(info[FS_MACHINE]);
@@ -223,7 +223,7 @@ Bool name;
     GetValueFromUser("Filesystem's owners (group)", &info[FS_OWNERS]);
     GetYesNoValueFromUser("Automatically create this filesystem",
                     &info[FS_CREATE]);
-    GetValueFromUser("Filesystem's lockertype", &info[FS_L_TYPE]);
+    GetTypeFromUser("Filesystem's lockertype", "lockertype", &info[FS_L_TYPE]);
 
     FreeAndClear(&info[FS_MODTIME], TRUE);
     FreeAndClear(&info[FS_MODBY], TRUE);
This page took 0.047052 seconds and 5 git commands to generate.