]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/addpart.c
wipefs: add --lock and LOCK_BLOCK_DEVICE
[thirdparty/util-linux.git] / disk-utils / addpart.c
index 018c99585f667bb204dde534f7280d1143830b5c..33abb36cab7b487beaf1878c310d04ff09efb709 100644 (file)
@@ -41,8 +41,7 @@ int main(int argc, char **argv)
        while ((c = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1)
                switch (c) {
                case 'V':
-                       printf(UTIL_LINUX_VERSION);
-                       return EXIT_SUCCESS;
+                       print_version(EXIT_SUCCESS);
                case 'h':
                        usage();
                default: