e2fsprogs/e2fsprogs-1.40.4-uuid_null.patch

14 lines
538 B
Diff
Raw Normal View History

Index: e2fsprogs-1.40.4/lib/uuid/gen_uuid.c
===================================================================
--- e2fsprogs-1.40.4.orig/lib/uuid/gen_uuid.c
+++ e2fsprogs-1.40.4/lib/uuid/gen_uuid.c
@@ -409,7 +409,7 @@ static int get_uuid_via_daemon(int op, u
access_ret = access(uuidd_path, X_OK);
if (access_ret == 0 && start_attempts++ < 5) {
if ((pid = fork()) == 0) {
- execl(uuidd_path, "uuidd", "-qT", "300", 0);
+ execl(uuidd_path, "uuidd", "-qT", "300", NULL);
exit(1);
}
(void) waitpid(pid, 0, 0);