1
/* $Id: chdir.c 61 2006-05-19 18:32:14Z steve-beattie $ */
4
* Copyright (C) 2002-2005 Novell/SUSE
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation, version 2 of the
17
int main(int argc, char *argv[])
20
fprintf(stderr, "usage: %s dir\n",
25
if (chdir(argv[1]) == 0){
28
printf("FAIL - %s\n", strerror(errno));