2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afs/param.h>
16 main(int argc, char **argv) {
18 if (argc < 2 || argc > 3) {
19 fprintf(stderr, "Incorrect arguments\n");
22 res = WritePrivateProfileString("AFS Submounts",
24 (argc == 3) ? argv[2] : NULL,
27 fprintf(stderr, "Failed, error code %d\n", GetLastError());