From d5f1ce4e17348a36069bd37bb67c3e97bc24ab3c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 11 Jul 2013 17:29:04 -0400 Subject: [PATCH] admin: Initialize sysroot to / by default, not garbage from the stack Oops. --- src/ostree/ot-builtin-admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/ot-builtin-admin.c b/src/ostree/ot-builtin-admin.c index bc9c8504..813a66b3 100644 --- a/src/ostree/ot-builtin-admin.c +++ b/src/ostree/ot-builtin-admin.c @@ -52,7 +52,7 @@ ostree_builtin_admin (int argc, char **argv, GFile *repo_path, GError **error) { gboolean ret = FALSE; __attribute__((unused)) GCancellable *cancellable = NULL; - const char *opt_sysroot; + const char *opt_sysroot = "/"; const char *subcommand_name; OstreeAdminCommand *subcommand; int subcmd_argc;