[ostree] admin: Initialize sysroot to / by default, not garbage from the stack
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] admin: Initialize sysroot to / by default, not garbage from the stack
- Date: Thu, 11 Jul 2013 21:30:01 +0000 (UTC)
commit d5f1ce4e17348a36069bd37bb67c3e97bc24ab3c
Author: Colin Walters <walters verbum org>
Date: Thu Jul 11 17:29:04 2013 -0400
admin: Initialize sysroot to / by default, not garbage from the stack
Oops.
src/ostree/ot-builtin-admin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-builtin-admin.c b/src/ostree/ot-builtin-admin.c
index bc9c850..813a66b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]