diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-30 14:01:53 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-30 14:01:53 +0100 |
commit | ab0397017cc26833c09946cca19d86b907822a94 (patch) | |
tree | 6bed84d3921570c84e7e6d9d9fc7b16889aa7c92 /ocaml/guestfs_c.h | |
parent | 6f5c3984a7ddfc111287e2ec214ba823db737db4 (diff) | |
download | libguestfs-ab0397017cc26833c09946cca19d86b907822a94.tar.gz libguestfs-ab0397017cc26833c09946cca19d86b907822a94.tar.xz libguestfs-ab0397017cc26833c09946cca19d86b907822a94.zip |
Use safe_malloc and/or check returns from malloc (Jim Meyering).
Diffstat (limited to 'ocaml/guestfs_c.h')
-rw-r--r-- | ocaml/guestfs_c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocaml/guestfs_c.h b/ocaml/guestfs_c.h index 4fb81881..b4a76617 100644 --- a/ocaml/guestfs_c.h +++ b/ocaml/guestfs_c.h @@ -22,7 +22,7 @@ #define Guestfs_val(v) (*((guestfs_h **)Data_custom_val(v))) extern void ocaml_guestfs_raise_error (guestfs_h *g, const char *func) Noreturn; -extern char **ocaml_guestfs_strings_val (value sv); +extern char **ocaml_guestfs_strings_val (guestfs_h *g, value sv); extern void ocaml_guestfs_free_strings (char **r); #endif /* GUESTFS_OCAML_C_H */ |