Version 0.6.1; very minor changes from last commit
diff --git a/gpt.cc b/gpt.cc
index fafadee..39c570e 100644
--- a/gpt.cc
+++ b/gpt.cc
@@ -542,8 +542,14 @@
    fd = OpenForWrite(deviceFilename);
    if ((fd == -1) && (!justLooking)) {
       printf("\aNOTE: Write test failed with error number %d. It will be "
-             "impossible to save\nchanges to this disk's partition table!\n\n",
+             "impossible to save\nchanges to this disk's partition table!\n",
              errno);
+#ifdef __FreeBSD__
+      printf("You may be able to enable writes by exiting this program, typing\n"
+             "'sysctl kern.geom.debugflags=16' at a shell prompt, and re-running this\n"
+             "program.\n");
+#endif
+      printf("\n");
       justLooking = 1;
    } // if
    close(fd);