diff options
author | Richard Jones <rjones@redhat.com> | 2010-02-03 17:52:05 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-02-04 10:26:12 +0000 |
commit | 6ea059d6a1bd1be605278057025d34dee675d64d (patch) | |
tree | a08d79bc2992da77e09f27a8008a360bcd1492c8 /hivex/hivexsh.c | |
parent | 286113fa0a7d3b33facc80f06fbc0154fdda43b4 (diff) | |
download | libguestfs-6ea059d6a1bd1be605278057025d34dee675d64d.tar.gz libguestfs-6ea059d6a1bd1be605278057025d34dee675d64d.tar.xz libguestfs-6ea059d6a1bd1be605278057025d34dee675d64d.zip |
hivexsh: Change some exit(1) -> exit(EXIT_FAILURE)
Diffstat (limited to 'hivex/hivexsh.c')
-rw-r--r-- | hivex/hivexsh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c index 847954cd..01a5ddcb 100644 --- a/hivex/hivexsh.c +++ b/hivex/hivexsh.c @@ -220,7 +220,7 @@ set_prompt_string (void) fp = open_memstream (&ptr, &size); if (fp == NULL) { perror ("open_memstream"); - exit (1); + exit (EXIT_FAILURE); } if (h) { @@ -570,7 +570,7 @@ cmd_ls (char *args) char **names = calloc (len, sizeof (char *)); if (names == NULL) { perror ("malloc"); - exit (1); + exit (EXIT_FAILURE); } int ret = -1; |