summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4d45c45)
* hivex/hivexget.c (EXIT_NOT_FOUND): Define.
(main): Use exit (EXIT_NOT_FOUND), not "exit (2)".
+enum { EXIT_NOT_FOUND = 2 };
+
int
main (int argc, char *argv[])
{
int
main (int argc, char *argv[])
{
/* else node not found */
fprintf (stderr, "hivexget: %s: %s: path element not found\n",
path, p);
/* else node not found */
fprintf (stderr, "hivexget: %s: %s: path element not found\n",
path, p);
goto error;
/* else key not found */
fprintf (stderr, "hivexget: %s: key not found\n", key);
goto error;
/* else key not found */
fprintf (stderr, "hivexget: %s: key not found\n", key);